Subject: Fix typo in meth driver

From: Christoph Lameter <[email-masked]>
Date: Fri, 11 Jul 2008 16:12:34 -0500

An | in an if statement to check a bit? I think this needs to be a &.
As a result of this typo meth will always operate in promiscuous mode.

Signed-off-by: Christoph Lameter <[email-masked]>

Index: linux-2.6/drivers/net/meth.c
===================================================================
--- linux-2.6.orig/drivers/net/meth.c	2008-07-11 16:05:00.000000000 -0500
+++ linux-2.6/drivers/net/meth.c	2008-07-11 16:05:02.000000000 -0500
@@ -287,7 +287,7 @@
 
 	/* Initial mode: 10 | Half-duplex | Accept normal packets */
 	priv->mac_ctrl = METH_ACCEPT_MCAST | METH_DEFAULT_IPG;
-	if (dev->flags | IFF_PROMISC)
+	if (dev->flags & IFF_PROMISC)
 		priv->mac_ctrl |= METH_PROMISC;
 	mace->eth.mac_ctrl = priv->mac_ctrl;