Merge branch 'fix/misc' into for-linus
[pandora-kernel.git] / drivers / net / atl1c / atl1c_ethtool.c
index e4afbd6..607007d 100644 (file)
@@ -281,6 +281,8 @@ static int atl1c_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
        if (wol->wolopts & WAKE_PHY)
                adapter->wol |= AT_WUFC_LNKC;
 
+       device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol);
+
        return 0;
 }