public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH] atlx: duplicate testing of MCAST flag
@ 2009-07-12 23:12 Roel Kluin
  2009-07-13  0:04 ` J. K. Cliburn
  0 siblings, 1 reply; 3+ messages in thread
From: Roel Kluin @ 2009-07-12 23:12 UTC (permalink / raw)
  To: jcliburn, atl1-devel, Andrew Morton, netdev, David Miller

Fix duplicate testing of MCAST flag

Signed-off-by: Roel Kluin <roel.kluin@gmail•com>
---
I think the first should be UCAST, correct?

diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c
index c734b19..204db96 100644
--- a/drivers/net/atlx/atl2.c
+++ b/drivers/net/atlx/atl2.c
@@ -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 */

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-13 18:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-12 23:12 [PATCH] atlx: duplicate testing of MCAST flag Roel Kluin
2009-07-13  0:04 ` J. K. Cliburn
2009-07-13 18:03   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox