summaryrefslogtreecommitdiffstats
path: root/drivers/net/atl1e/atl1e_ethtool.c
diff options
context:
space:
mode:
authorroel kluin <roel.kluin@gmail.com>2008-08-07 18:24:42 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-08-14 10:44:18 +0200
commit1a3c4bc61547e5a75fd3b85b425624756da4cffb (patch)
treee7403a51157e31bd30b8a5bae38434f7691053dc /drivers/net/atl1e/atl1e_ethtool.c
parent[netdrvr] ne: Use CONFIG_MACH_TX49XX (diff)
downloadlinux-1a3c4bc61547e5a75fd3b85b425624756da4cffb.tar.xz
linux-1a3c4bc61547e5a75fd3b85b425624756da4cffb.zip
atl1e: WAKE_MCAST 2x. 1st WAKE_UCAST?
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/atl1e/atl1e_ethtool.c')
-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;