Skip to content

Commit

Permalink
[SCSI] qla2xxx: Restrict nic core reset to one function for mctp.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Saurav Kashyap authored and James Bottomley committed Sep 24, 2012
1 parent fb0effe commit 409ee0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 409ee0f

Please sign in to comment.