Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 409ee0fe authored by Saurav Kashyap's avatar Saurav Kashyap Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Restrict nic core reset to one function for mctp.

parent fb0effee
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -4153,7 +4153,7 @@ qla2xxx_mctp_dump(scsi_qla_host_t *vha)
		ha->mctp_dumped = 1;
		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;
		ha->flags.nic_core_reset_hdlr_active = 1;
		rval = qla83xx_restart_nic_firmware(vha);
		rval = qla83xx_restart_nic_firmware(vha);
		if (rval)
		if (rval)