Commit 07653aa3 authored by Dhananjay Phadke's avatar Dhananjay Phadke Committed by David S. Miller

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: default avatarDhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a598ae17
...@@ -1469,6 +1469,7 @@ netxen_nic_resume(struct pci_dev *pdev) ...@@ -1469,6 +1469,7 @@ netxen_nic_resume(struct pci_dev *pdev)
} }
netxen_schedule_work(adapter, netxen_fw_poll_work, FW_POLL_DELAY); netxen_schedule_work(adapter, netxen_fw_poll_work, FW_POLL_DELAY);
return 0;
err_out_detach: err_out_detach:
netxen_nic_detach(adapter); netxen_nic_detach(adapter);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment