projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adeab1a
)
atlx: duplicate testing of MCAST flag
author
roel kluin
<roel.kluin@gmail.com>
Sun, 12 Jul 2009 13:12:37 +0000
(13:12 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 13 Jul 2009 18:02:55 +0000
(11:02 -0700)
Fix duplicate testing of MCAST flag
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Jay Cliburn <jcliburn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atlx/atl2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/atlx/atl2.c
b/drivers/net/atlx/atl2.c
index c734b1983ec14667bc2debd4d5eec05b4f66369d..204db961029e798e74a8dc990d7b086207c0771c 100644
(file)
--- a/
drivers/net/atlx/atl2.c
+++ b/
drivers/net/atlx/atl2.c
@@
-2071,7
+2071,7
@@
static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE))
return -EOPNOTSUPP;
- if (wol->wolopts & (WAKE_
MCAST|WAKE_BCAST|
WAKE_MCAST))
+ if (wol->wolopts & (WAKE_
UCAST | WAKE_BCAST |
WAKE_MCAST))
return -EOPNOTSUPP;
/* these settings will always override what we currently have */