[SCSI] qla4xxx: Correct early completion of pending mbox.
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Tue, 24 Apr 2012 05:32:32 +0000 (22:32 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 May 2012 08:53:52 +0000 (12:53 +0400)
commit5f50aa3ad54f3d029026d437f43324ce336dd8f5
treefeb1187623af2ee09dff78182d07881e02b2c1b4
parent8d55e507d24c6db7eb012c379c62912e642eb75e
[SCSI] qla4xxx: Correct early completion of pending mbox.

Check for Firmware Hang (AF_FW_RECOVERY) after mailbox command
has gained access to ensure that the mailbox command does not
wait un-necessarily during a firmware recovery and prevent
premature mailbox timeout which will lead to back to back reset's.

Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_mbx.c