[SCSI] qla4xxx: Do not send mbox command if FW is in failed state
authorPrasanna Mumbai <prasanna.mumbai@qlogic.com>
Mon, 21 Mar 2011 10:34:25 +0000 (03:34 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 23 Mar 2011 17:48:31 +0000 (12:48 -0500)
commit99b53bf50cc4711a3c82dfc704911ff738a41758
treeaa9226ff6596492cca292ce6c54230ff335d1e97
parent9640de2099a3c7936b65bf3a45e67a324de950c8
[SCSI] qla4xxx: Do not send mbox command if FW is in failed state

FW is not able to process mbox command if FW state is failed. This will cause
mbox command to timeout and adapter reset. We have separate function to detect
FW failed state and do adapter reset. So to avoid mbox command timeout, do not
process mbox command in case of FW state failed.

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: Prasanna Mumbai <prasanna.mumbai@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla4xxx/ql4_mbx.c