atlx: duplicate testing of MCAST flag
Subsystems (2)
PATCH 1/1 atlx: duplicate testing of MCAST flag
Fix duplicate testing of MCAST flag
Signed-off-by Roel Kluin <[email protected]>
---
I think the first should be UCAST, correct?
drivers/net/atlx/atl2.c +1 -1
@@ -2071,7 +2071,7 @@ static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)if (wol->wolopts & (WAKE_ARP |WAKE_MAGICSECURE ))return -EOPNOTSUPP ; -if (wol->wolopts & (WAKE_MCAST |WAKE_BCAST |WAKE_MCAST )) +if (wol->wolopts & (WAKE_UCAST |WAKE_BCAST |WAKE_MCAST ))return -EOPNOTSUPP ;/* these settings will always override what we currently have */
Quoted 12 lines · Roel Kluin
Fix duplicate testing of MCAST flag
Signed-off-by Roel Kluin <[email protected]>---
I think the first should be UCAST, correct?drivers/net/atlx/atl2.c +0
-0
drivers/net/atlx/atl2.c static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) · line 2077
Quoted 8 lines
drivers/net/atlx/atl2.c +1
-1@@ -2071,7 +2071,7 @@ static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) return -EOPNOTSUPP; - if (wol->wolopts & (WAKE_MCAST|WAKE_BCAST|WAKE_MCAST)) + if (wol->wolopts & (WAKE_UCAST | WAKE_BCAST | WAKE_MCAST)) return -EOPNOTSUPP; /* these settings will always override what we currently have */
Acked-by Jay Cliburn <[email protected]>
From: "J. K. Cliburn" <[email protected]>
Date: Sun, 12 Jul 2009 19:04:20 -0500
Quoted 5 lines · Roel Kluin
Quoted 3 lines
Fix duplicate testing of MCAST flag
Signed-off-by Roel Kluin <[email protected]>Acked-by Jay Cliburn <[email protected]>
Applied, thanks.