summaryrefslogtreecommitdiffstats
path: root/drivers/net/atlx/atl2.c
diff options
context:
space:
mode:
authorroel kluin <roel.kluin@gmail.com>2009-07-12 15:12:37 +0200
committerDavid S. Miller <davem@davemloft.net>2009-07-13 20:02:55 +0200
commit41796e91a2a30fd82a0fd561022489b61f8a3188 (patch)
treee7e4dd3a921045745a22d42ecaca387eff2fe64b /drivers/net/atlx/atl2.c
parentNET: Fix locking issues in PPP, 6pack, mkiss and strip line disciplines. (diff)
downloadlinux-41796e91a2a30fd82a0fd561022489b61f8a3188.tar.xz
linux-41796e91a2a30fd82a0fd561022489b61f8a3188.zip
atlx: duplicate testing of MCAST flag
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/atlx/atl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c
index c734b1983ec1..204db961029e 100644
--- 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 */