diff options
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 47a3c6d70569..68877599f6db 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
@@ -5640,7 +5640,6 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev, | |||
5640 | adapter->wol = 0; | 5640 | adapter->wol = 0; |
5641 | break; | 5641 | break; |
5642 | } | 5642 | } |
5643 | device_init_wakeup(&adapter->pdev->dev, true); | ||
5644 | device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol); | 5643 | device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol); |
5645 | 5644 | ||
5646 | /* pick up the PCI bus settings for reporting later */ | 5645 | /* pick up the PCI bus settings for reporting later */ |