Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155874
b: refs/heads/master
c: 7b55a4a
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and David S. Miller committed Jul 22, 2009
1 parent 12f3523 commit 1adbf54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d14a7679ae9b7d4eb4b92e81f5039b719fd98c4d
refs/heads/master: 7b55a4a3f761db7daba1ac526ef60f64f5c53689
4 changes: 3 additions & 1 deletion trunk/drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -3854,8 +3854,10 @@ static struct net_device *skge_devinit(struct skge_hw *hw, int port,
skge->speed = -1;
skge->advertising = skge_supported_modes(hw);

if (device_may_wakeup(&hw->pdev->dev))
if (device_can_wakeup(&hw->pdev->dev)) {
skge->wol = wol_supported(hw) & WAKE_MAGIC;
device_set_wakeup_enable(&hw->pdev->dev, skge->wol);
}

hw->dev[port] = dev;

Expand Down

0 comments on commit 1adbf54

Please sign in to comment.