aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/igb/igb_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 0427e7c10295..089a7c3f4c69 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -5885,6 +5885,7 @@ static int igb_resume(struct pci_dev *pdev)
5885 5885
5886 pci_set_power_state(pdev, PCI_D0); 5886 pci_set_power_state(pdev, PCI_D0);
5887 pci_restore_state(pdev); 5887 pci_restore_state(pdev);
5888 pci_save_state(pdev);
5888 5889
5889 err = pci_enable_device_mem(pdev); 5890 err = pci_enable_device_mem(pdev);
5890 if (err) { 5891 if (err) {
@@ -6010,6 +6011,7 @@ static pci_ers_result_t igb_io_slot_reset(struct pci_dev *pdev)
6010 } else { 6011 } else {
6011 pci_set_master(pdev); 6012 pci_set_master(pdev);
6012 pci_restore_state(pdev); 6013 pci_restore_state(pdev);
6014 pci_save_state(pdev);
6013 6015
6014 pci_enable_wake(pdev, PCI_D3hot, 0); 6016 pci_enable_wake(pdev, PCI_D3hot, 0);
6015 pci_enable_wake(pdev, PCI_D3cold, 0); 6017 pci_enable_wake(pdev, PCI_D3cold, 0);