summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorSaurav Kashyap <saurav.kashyap@qlogic.com>2012-08-22 14:21:29 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-24 12:10:53 +0400
commit409ee0fe14b113cbb7ec6ef4a6e0982e2e5c1e8f (patch)
tree3d939f6a23e69c969758e27131edb687b754eb90 /drivers/scsi/qla2xxx/qla_init.c
parentfb0effeee0855e2946d1b1f9cd1e142b78a7f6ca (diff)
downloadop-kernel-dev-409ee0fe14b113cbb7ec6ef4a6e0982e2e5c1e8f.zip
op-kernel-dev-409ee0fe14b113cbb7ec6ef4a6e0982e2e5c1e8f.tar.gz
[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>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-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 ef4aeb7..62081cf 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)
OpenPOWER on IntegriCloud