Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53479
b: refs/heads/master
c: 30c517b
h: refs/heads/master
i:
  53477: a9592a3
  53475: 2ce606c
  53471: 41e6b32
v: v3
  • Loading branch information
Michael Chan authored and David S. Miller committed May 3, 2007
1 parent 8252f63 commit 457da39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b2f922f6869eb13dadfe1ba3f8337bd42e50a2e
refs/heads/master: 30c517b29130ddede977300235afcda1c256530b
2 changes: 2 additions & 0 deletions trunk/drivers/net/bnx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -6172,6 +6172,7 @@ bnx2_suspend(struct pci_dev *pdev, pm_message_t state)
reset_code = BNX2_DRV_MSG_CODE_SUSPEND_NO_WOL;
bnx2_reset_chip(bp, reset_code);
bnx2_free_skbs(bp);
pci_save_state(pdev);
bnx2_set_power_state(bp, pci_choose_state(pdev, state));
return 0;
}
Expand All @@ -6185,6 +6186,7 @@ bnx2_resume(struct pci_dev *pdev)
if (!netif_running(dev))
return 0;

pci_restore_state(pdev);
bnx2_set_power_state(bp, PCI_D0);
netif_device_attach(dev);
bnx2_init_nic(bp);
Expand Down

0 comments on commit 457da39

Please sign in to comment.