mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-30 16:13:54 +08:00
[SCSI] qla4xxx: correct return status in function qla4xxx_fw_ready
Handle fw_state "auto discovery in progress" correctly to avoid marking adapter as offline. Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: Ravi Anand <ravi.anand@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
363863256a
commit
b966346c34
@ -399,6 +399,7 @@ static int qla4xxx_fw_ready(struct scsi_qla_host *ha)
|
||||
DEBUG2(printk("scsi%ld: %s: FW initialized, but "
|
||||
"auto-discovery still in process\n",
|
||||
ha->host_no, __func__));
|
||||
ready = 1;
|
||||
}
|
||||
|
||||
return ready;
|
||||
|
Loading…
Reference in New Issue
Block a user