diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2013-02-08 01:58:02 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-02-22 09:37:32 -0500 |
commit | 6c3943cdb87f68a9dbb6d586f40b84622e803574 (patch) | |
tree | cfae547d71403c82c124bad35da0f80677923ab3 /drivers/scsi/qla2xxx | |
parent | bb4cf5b73b47fe78502b16bc3dc4af612aa37ad7 (diff) |
[SCSI] qla2xxx: Don't process state change aen for reset owner.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index d62fd1a78fa8..cbf6a431fcb5 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -491,6 +491,8 @@ qla83xx_handle_8200_aen(scsi_qla_host_t *vha, uint16_t *mb) | |||
491 | if (mb[1] & IDC_DEVICE_STATE_CHANGE) { | 491 | if (mb[1] & IDC_DEVICE_STATE_CHANGE) { |
492 | ql_log(ql_log_info, vha, 0x506a, | 492 | ql_log(ql_log_info, vha, 0x506a, |
493 | "IDC Device-State changed = 0x%x.\n", mb[4]); | 493 | "IDC Device-State changed = 0x%x.\n", mb[4]); |
494 | if (ha->flags.nic_core_reset_owner) | ||
495 | return; | ||
494 | qla83xx_schedule_work(vha, MBA_IDC_AEN); | 496 | qla83xx_schedule_work(vha, MBA_IDC_AEN); |
495 | } | 497 | } |
496 | } | 498 | } |