Skip to content

Commit

Permalink
atl1e: WAKE_MCAST 2x. 1st WAKE_UCAST?
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
roel kluin authored and Jeff Garzik committed Aug 14, 2008
1 parent c7e65c1 commit 1a3c4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/atl1e/atl1e_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ static int atl1e_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
struct atl1e_adapter *adapter = netdev_priv(netdev);

if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE |
WAKE_MCAST | WAKE_BCAST | WAKE_MCAST))
WAKE_UCAST | WAKE_MCAST | WAKE_BCAST))
return -EOPNOTSUPP;
/* these settings will always override what we currently have */
adapter->wol = 0;
Expand Down

0 comments on commit 1a3c4bc

Please sign in to comment.