Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202887
b: refs/heads/master
c: 84efa0e
h: refs/heads/master
i:
  202885: 7da3786
  202883: cdc46e9
  202879: ad9a131
v: v3
  • Loading branch information
Sascha Silbe authored and John W. Linville committed Jun 8, 2010
1 parent d06bc0e commit b38846a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: a5fdbcad0a3f461d43f7b801f8fc176cd2840704
refs/heads/master: 84efa0e7aab9f41451bdf4bff5e2414bb59c6a93
9 changes: 3 additions & 6 deletions trunk/drivers/net/wireless/libertas/ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,11 @@ static void lbs_ethtool_get_wol(struct net_device *dev,
{
struct lbs_private *priv = dev->ml_priv;

if (priv->wol_criteria == 0xffffffff) {
/* Interface driver didn't configure wake */
wol->supported = wol->wolopts = 0;
return;
}

wol->supported = WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY;

if (priv->wol_criteria == EHS_REMOVE_WAKEUP)
return;

if (priv->wol_criteria & EHS_WAKE_ON_UNICAST_DATA)
wol->wolopts |= WAKE_UCAST;
if (priv->wol_criteria & EHS_WAKE_ON_MULTICAST_DATA)
Expand Down

0 comments on commit b38846a

Please sign in to comment.