diff options
author | roel kluin <roel.kluin@gmail.com> | 2009-07-12 13:12:37 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-13 18:02:55 (GMT) |
commit | 41796e91a2a30fd82a0fd561022489b61f8a3188 (patch) | |
tree | e7e4dd3a921045745a22d42ecaca387eff2fe64b | |
parent | adeab1afb7de89555c69aab5ca21300c14af6369 (diff) | |
download | linux-41796e91a2a30fd82a0fd561022489b61f8a3188.tar.xz |
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>
-rw-r--r-- | drivers/net/atlx/atl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c index c734b19..204db96 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 */ |