X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fnet%2Figb%2Figb_main.c;h=0a9801516ae02f180bac0c91f3ba788a3dc925eb;hb=e1b86d8479f90aadee57a3d07d8e61c815c202d9;hp=1f397cd99414dd51293b5d5dadfec1905c52fa19;hpb=eba966a4e780199e31e8fd1d21bc9d187b1c9eaf;p=firefly-linux-kernel-4.4.55.git 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, /* initialize the wol settings based on the eeprom settings */ adapter->wol = adapter->eeprom_wol; + device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol); /* reset the hardware with the new settings */ igb_reset(adapter);