summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroel kluin <roel.kluin@gmail.com>2008-08-07 20:24:42 +0400
committerJeff Garzik <jgarzik@redhat.com>2008-08-14 12:44:18 +0400
commit1a3c4bc61547e5a75fd3b85b425624756da4cffb (patch)
treee7403a51157e31bd30b8a5bae38434f7691053dc
parentc7e65c17d75f29c846ff711b1dc5e823ba8de314 (diff)
downloadlinux-1a3c4bc61547e5a75fd3b85b425624756da4cffb.tar.xz
atl1e: WAKE_MCAST 2x. 1st WAKE_UCAST?
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--drivers/net/atl1e/atl1e_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atl1e/atl1e_ethtool.c b/drivers/net/atl1e/atl1e_ethtool.c
index cdc3b85b10b9..619c6583e1aa 100644
--- a/drivers/net/atl1e/atl1e_ethtool.c
+++ b/drivers/net/atl1e/atl1e_ethtool.c
@@ -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;