projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b77e522
)
atl1c: WAKE_MCAST tested twice, not WAKE_UCAST
author
Roel Kluin
<
[email protected]
>
Wed, 10 Jun 2009 09:55:03 +0000
(09:55 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 11 Jun 2009 09:32:41 +0000
(
02:32
-0700)
The WAKE_MCAST bit is tested twice, the first should be WAKE_UCAST.
Signed-off-by: Roel Kluin <
[email protected]
>
Cc: Jie Yang <
[email protected]
>
Cc: Jay Cliburn <
[email protected]
>
Cc: Chris Snook <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/atl1c/atl1c_ethtool.c
patch
|
blob
|
history
diff --git
a/drivers/net/atl1c/atl1c_ethtool.c
b/drivers/net/atl1c/atl1c_ethtool.c
index 45c5b7332cd36a6258f42310655c339446369574..e4afbd628c23e8f8b4594e44988d37e6842592cb 100644
(file)
--- a/
drivers/net/atl1c/atl1c_ethtool.c
+++ b/
drivers/net/atl1c/atl1c_ethtool.c
@@
-271,7
+271,7
@@
static int atl1c_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
struct atl1c_adapter *adapter = netdev_priv(netdev);
if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE |
- WAKE_
M
CAST | WAKE_BCAST | WAKE_MCAST))
+ WAKE_
U
CAST | WAKE_BCAST | WAKE_MCAST))
return -EOPNOTSUPP;
/* these settings will always override what we currently have */
adapter->wol = 0;