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:
Родитель
a598ae177a
Коммит
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче