Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233426
b: refs/heads/master
c: 539c9aa
h: refs/heads/master
v: v3
  • Loading branch information
Giuseppe Cavallaro authored and David S. Miller committed Feb 14, 2011
1 parent 18df466 commit 887567c
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: da1ab3e233eb1ff4116b178006a89ddca7dcd928
refs/heads/master: 539c9aa5ba7c5f71794ef0948c6dd29552f033e4
4 changes: 3 additions & 1 deletion trunk/drivers/net/stmmac/stmmac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1560,8 +1560,10 @@ static int stmmac_mac_device_setup(struct net_device *dev)

priv->hw = device;

if (device_can_wakeup(priv->device))
if (device_can_wakeup(priv->device)) {
priv->wolopts = WAKE_MAGIC; /* Magic Frame as default */
enable_irq_wake(dev->irq);
}

return 0;
}
Expand Down

0 comments on commit 887567c

Please sign in to comment.