atl1e: WAKE_MCAST 2x. 1st WAKE_UCAST?
authorroel kluin <roel.kluin@gmail.com>
Thu, 7 Aug 2008 16:24:42 +0000 (12:24 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 14 Aug 2008 08:44:18 +0000 (04:44 -0400)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/atl1e/atl1e_ethtool.c

index cdc3b85..619c658 100644 (file)
@@ -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;