summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaurav Kashyap <saurav.kashyap@qlogic.com>2013-02-08 07:58:02 +0100
committerJames Bottomley <JBottomley@Parallels.com>2013-02-22 15:37:32 +0100
commit6c3943cdb87f68a9dbb6d586f40b84622e803574 (patch)
treecfae547d71403c82c124bad35da0f80677923ab3
parent[SCSI] qla2xxx: Don't process RSCNs for a vport on the same physical adapter. (diff)
downloadlinux-6c3943cdb87f68a9dbb6d586f40b84622e803574.tar.xz
linux-6c3943cdb87f68a9dbb6d586f40b84622e803574.zip
[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>
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c2
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)
if (mb[1] & IDC_DEVICE_STATE_CHANGE) {
ql_log(ql_log_info, vha, 0x506a,
"IDC Device-State changed = 0x%x.\n", mb[4]);
+ if (ha->flags.nic_core_reset_owner)
+ return;
qla83xx_schedule_work(vha, MBA_IDC_AEN);
}
}