diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2012-08-22 18:21:29 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 08:10:53 (GMT) |
commit | 409ee0fe14b113cbb7ec6ef4a6e0982e2e5c1e8f (patch) | |
tree | 3d939f6a23e69c969758e27131edb687b754eb90 /drivers/scsi/qla2xxx | |
parent | fb0effeee0855e2946d1b1f9cd1e142b78a7f6ca (diff) | |
download | linux-409ee0fe14b113cbb7ec6ef4a6e0982e2e5c1e8f.tar.xz |
[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')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 2 |
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) |