mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-15 00:58:25 +00:00
[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>
This commit is contained in:
parent
fb0effeee0
commit
409ee0fe14
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user