Skip to contentSkip to conversation

e1000e: Fix typo ! &

PATCH Applied Auke Kok 2 participants 2 messages Oct 29, 2007 – Oct 30, 2007

Subsystems (2)
lore
Share & tools
lore

Auke Kok

author
#0 lore raw

PATCH 1/1 e1000e: Fix typo ! &

From: Roel Kluin <[email protected]>

---

 drivers/net/e1000e/82571.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/e1000e/82571.c +1 -1
index cf70522..14141a5 100644
@@ -283,7 +283,7 @@ static s32 e1000_get_invariants_82571(struct e1000_adapter *adapter)
 			adapter->flags &= ~FLAG_HAS_WOL;
 		/* quad ports only support WoL on port A */
 		if (adapter->flags & FLAG_IS_QUAD_PORT &&
-		    (!adapter->flags & FLAG_IS_QUAD_PORT_A))
+		    (!(adapter->flags & FLAG_IS_QUAD_PORT_A)))
 			adapter->flags &= ~FLAG_HAS_WOL;
 		break;
 
Applied
#1 lore raw
Quoted 14 lines · Auke Kok

From: Roel Kluin <[email protected]>

---

 drivers/net/e1000e/82571.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/e1000e/82571.c +0 -0
index cf70522..14141a5 100644

drivers/net/e1000e/82571.c static s32 e1000_get_invariants_82571(struct e1000_adapter *adapter) · line 288

Quoted 7 lines
drivers/net/e1000e/82571.c +1 -1
@@ -283,7 +283,7 @@ static s32 e1000_get_invariants_82571(struct e1000_adapter *adapter)
 			adapter->flags &= ~FLAG_HAS_WOL;
 		/* quad ports only support WoL on port A */
 		if (adapter->flags & FLAG_IS_QUAD_PORT &&
-		    (!adapter->flags & FLAG_IS_QUAD_PORT_A))
+		    (!(adapter->flags & FLAG_IS_QUAD_PORT_A)))
 			adapter->flags &= ~FLAG_HAS_WOL;
 		break;

applied