mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
[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>
This commit is contained in:
parent
5c19b92ae8
commit
ad5da8c404
1 changed files with 0 additions and 8 deletions
|
@ -6006,14 +6006,6 @@ static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type)
|
|||
goto exit_host_reset;
|
||||
}
|
||||
|
||||
rval = qla4xxx_wait_for_hba_online(ha);
|
||||
if (rval != QLA_SUCCESS) {
|
||||
DEBUG2(ql4_printk(KERN_INFO, ha, "%s: Unable to reset host "
|
||||
"adapter\n", __func__));
|
||||
rval = -EIO;
|
||||
goto exit_host_reset;
|
||||
}
|
||||
|
||||
if (test_bit(DPC_RESET_HA, &ha->dpc_flags))
|
||||
goto recover_adapter;
|
||||
|
||||
|
|
Loading…
Reference in a new issue