|
@@ -518,7 +518,7 @@ qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp)
|
|
set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
|
|
set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
|
|
qla2xxx_wake_dpc(vha);
|
|
qla2xxx_wake_dpc(vha);
|
|
}
|
|
}
|
|
- } else if (!abort_active) {
|
|
|
|
|
|
+ } else if (current == ha->dpc_thread) {
|
|
/* call abort directly since we are in the DPC thread */
|
|
/* call abort directly since we are in the DPC thread */
|
|
ql_dbg(ql_dbg_mbx, vha, 0x101d,
|
|
ql_dbg(ql_dbg_mbx, vha, 0x101d,
|
|
"Timeout, calling abort_isp.\n");
|
|
"Timeout, calling abort_isp.\n");
|