Commit 41796e91 authored by roel kluin's avatar roel kluin Committed by David S. Miller

atlx: duplicate testing of MCAST flag

Fix duplicate testing of MCAST flag
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarJay Cliburn <jcliburn@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent adeab1af
...@@ -2071,7 +2071,7 @@ static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) ...@@ -2071,7 +2071,7 @@ static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE))
return -EOPNOTSUPP; return -EOPNOTSUPP;
if (wol->wolopts & (WAKE_MCAST|WAKE_BCAST|WAKE_MCAST)) if (wol->wolopts & (WAKE_UCAST | WAKE_BCAST | WAKE_MCAST))
return -EOPNOTSUPP; return -EOPNOTSUPP;
/* these settings will always override what we currently have */ /* these settings will always override what we currently have */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment