summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaurav Kashyap2012-08-22 20:21:29 +0200
committerJames Bottomley2012-09-24 10:10:53 +0200
commit409ee0fe14b113cbb7ec6ef4a6e0982e2e5c1e8f (patch)
tree3d939f6a23e69c969758e27131edb687b754eb90
parent[SCSI] qla2xxx: Enable fw attributes for ISP24xx and above. (diff)
downloadkernel-qcow2-linux-409ee0fe14b113cbb7ec6ef4a6e0982e2e5c1e8f.tar.gz
kernel-qcow2-linux-409ee0fe14b113cbb7ec6ef4a6e0982e2e5c1e8f.tar.xz
kernel-qcow2-linux-409ee0fe14b113cbb7ec6ef4a6e0982e2e5c1e8f.zip
[SCSI] qla2xxx: Restrict nic core reset to one function for mctp.
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index ef4aeb792135..62081cf4d824 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -4153,7 +4153,7 @@ qla2xxx_mctp_dump(scsi_qla_host_t *vha)
ha->mctp_dumped = 1;
}
- if (!ha->flags.nic_core_reset_hdlr_active) {
+ if (!ha->flags.nic_core_reset_hdlr_active && !ha->portnum) {
ha->flags.nic_core_reset_hdlr_active = 1;
rval = qla83xx_restart_nic_firmware(vha);
if (rval)