aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r--drivers/net/e1000/e1000_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index ed1e57ac7554..479915a9f0fb 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -3173,8 +3173,7 @@ e1000_resume(struct pci_dev *pdev)
3173 pci_set_power_state(pdev, 0); 3173 pci_set_power_state(pdev, 0);
3174 pci_restore_state(pdev); 3174 pci_restore_state(pdev);
3175 ret = pci_enable_device(pdev); 3175 ret = pci_enable_device(pdev);
3176 if (pdev->is_busmaster) 3176 pci_set_master(pdev);
3177 pci_set_master(pdev);
3178 3177
3179 pci_enable_wake(pdev, 3, 0); 3178 pci_enable_wake(pdev, 3, 0);
3180 pci_enable_wake(pdev, 4, 0); /* 4 == D3 cold */ 3179 pci_enable_wake(pdev, 4, 0); /* 4 == D3 cold */