Skip to content

Commit

Permalink
netxen: fix firmware init after resume
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dhananjay Phadke authored and David S. Miller committed Sep 22, 2009
1 parent a598ae1 commit 07653aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/netxen/netxen_nic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 07653aa

Please sign in to comment.