diff options
author | Harish Zunjarrao <harish.zunjarrao@qlogic.com> | 2012-11-23 06:58:39 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-01-28 21:55:06 -0500 |
commit | ad5da8c404858bf573c394d66b73b43a8e0fe5fc (patch) | |
tree | e603ed4ba6be135905dd04461a7dacba9ef5c26f /drivers/scsi/qla4xxx | |
parent | 5c19b92ae82a2b39add78b2d2bc1c4e4d7c4d2ec (diff) |
[SCSI] qla4xxx: Allow reset in link down case
Issue:
Reset operation fails if port is in Link Down state
Fix:
Do not wait till HBA comes online after reset command is invoked.
Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index bfd1e68654ab..47b908cacd01 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -6006,14 +6006,6 @@ static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type) | |||
6006 | goto exit_host_reset; | 6006 | goto exit_host_reset; |
6007 | } | 6007 | } |
6008 | 6008 | ||
6009 | rval = qla4xxx_wait_for_hba_online(ha); | ||
6010 | if (rval != QLA_SUCCESS) { | ||
6011 | DEBUG2(ql4_printk(KERN_INFO, ha, "%s: Unable to reset host " | ||
6012 | "adapter\n", __func__)); | ||
6013 | rval = -EIO; | ||
6014 | goto exit_host_reset; | ||
6015 | } | ||
6016 | |||
6017 | if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) | 6009 | if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) |
6018 | goto recover_adapter; | 6010 | goto recover_adapter; |
6019 | 6011 | ||