[SCSI] qla2xxx: Do not take a second firmware dump when intentionally generating...
authorChad Dupuis <chad.dupuis@qlogic.com>
Tue, 25 Jun 2013 15:27:20 +0000 (11:27 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 8 Jul 2013 16:21:51 +0000 (17:21 +0100)
commitb8eb4136b08f24b159d76b273216d524a26ac8f9
tree825ab25f72bc160581d015c4eabf9e95a0ec07d9
parent8fbfe2d21445253411c1ff0f69e3129fc11ba57c
[SCSI] qla2xxx: Do not take a second firmware dump when intentionally generating one.

When we are intentionally generating a firmware dump by executing the
MBC_GEN_SYSTEM_ERROR command, the command actually times out. The normal
course of action when a mailbox command times out is to take a firmware dump.
However, in this special case we do not want to do this since the
MBA_SYSTEM_ERR AEN already generates a firmware dump.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_mbx.c