mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 02:20:52 +07:00
netxen: fix firmware init after resume
After successful firmware init, return instead of falling to error path (leading to detach) after resuming to D0 state. This was broken in recent firmware reset rehaul. Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a598ae177a
commit
07653aa3af
@ -1469,6 +1469,7 @@ netxen_nic_resume(struct pci_dev *pdev)
|
||||
}
|
||||
|
||||
netxen_schedule_work(adapter, netxen_fw_poll_work, FW_POLL_DELAY);
|
||||
return 0;
|
||||
|
||||
err_out_detach:
|
||||
netxen_nic_detach(adapter);
|
||||
|
Loading…
Reference in New Issue
Block a user