|
@@ -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 */
|