[SCSI] qla2xxx: Return the correct value for a mailbox command if 82xx is in reset...
commit1806fcd5d3d7644511e57b1d0a397837b0b38623
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Fri, 18 Nov 2011 17:02:15 +0000 (18 09:02 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 12 Dec 2011 08:36:02 +0000 (12 12:36 +0400)
tree6d3cce23d9dd09c61f7486e7c216e7721084fe00
parent3aadff356bb80dae1ebb0a2e68974fdbb39fe034
[SCSI] qla2xxx: Return the correct value for a mailbox command if 82xx is in reset recovery.

We need to return QLA_FUNCTION_TIMEOUT immediately otherwise we mess up the
mailbox command state machine.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_mbx.c