[SCSI] qla2xxx: Correctly set fw hung and complete only waiting mbx.
authorGiridhar Malavali <giridhar.malavali@qlogic.com>
Fri, 3 Sep 2010 21:57:03 +0000 (14:57 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 5 Sep 2010 18:18:29 +0000 (15:18 -0300)
commit4142b1987f1f8ba90589642cb74566eaff3dc2e9
treed2a7dae8535899671fccae3d9c70e1a6e7c13d75
parentefa786cc43a114d0bf2e4b95e856ea6911404d58
[SCSI] qla2xxx: Correctly set fw hung and complete only waiting mbx.

The fw_hung flag should be set ir-respective of if there is a
mbx command pending or not. Also the complete should be called
if there is a mbx waiting.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_nx.c