[SCSI] qla4xxx: correct return status in function qla4xxx_fw_ready
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Sat, 10 Jul 2010 09:19:19 +0000 (14:49 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:04:33 +0000 (12:04 -0500)
commitb966346c344f592c8e6a84c9c274a7dedbc057ad
treee009d66c3c50997592454a43883458bd823c24c1
parent363863256a711819130ea4ac210ee001bc80c3b2
[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>
drivers/scsi/qla4xxx/ql4_init.c