提交 07653aa3 编写于 作者: D Dhananjay Phadke 提交者: 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: NDhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册