In case of mctp enable board both functions receive 8200 AEN, both captures
the dump and both ends up restarting the nic core. This patch prevents allow
only function to perform nic core reset.
JIRA Key: V2632FC-251
ER: ER96691
Acked-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
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;
if ((rval = qla83xx_restart_nic_firmware(vha)))
/* NIC Core reset failed. */