diff options
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r-- | drivers/net/igb/igb_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index 1f397cd99414..0a9801516ae0 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -1244,6 +1244,7 @@ static int __devinit igb_probe(struct pci_dev *pdev, | |||
1244 | 1244 | ||
1245 | /* initialize the wol settings based on the eeprom settings */ | 1245 | /* initialize the wol settings based on the eeprom settings */ |
1246 | adapter->wol = adapter->eeprom_wol; | 1246 | adapter->wol = adapter->eeprom_wol; |
1247 | device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol); | ||
1247 | 1248 | ||
1248 | /* reset the hardware with the new settings */ | 1249 | /* reset the hardware with the new settings */ |
1249 | igb_reset(adapter); | 1250 | igb_reset(adapter); |