[PATCH] alx: Don't check netif_running() on resume
Tim Gardner
tim.gardner at canonical.com
Wed Apr 24 14:30:11 EDT 2013
The resume function must power up the device regardless of the state
of the network stack.
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
src/alx_main.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/alx_main.c b/src/alx_main.c
index 7fe3f4b..c2606eb 100644
--- a/src/alx_main.c
+++ b/src/alx_main.c
@@ -1693,9 +1693,6 @@ static int alx_resume(struct device *dev)
struct alx_hw *hw = &adpt->hw;
int err;
- if (!netif_running(netdev))
- return 0;
-
pci_set_power_state(pdev, PCI_D0);
pci_restore_state(pdev);
pci_save_state(pdev);
--
1.7.9.5
More information about the unified-drivers
mailing list