Skip to contentSkip to conversation

tg3: APE flag fix

PATCH Applied Matt Carlson 2 participants 2 messages Nov 10, 2007 – Nov 13, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/13 tg3: APE flag fix

This patch corrects a bug where the ENABLE_APE flag was tested against the wrong flag variable.

drivers/net/tg3.c +1 -1
index 82b1cf0..833cb9b 100644
@@ -10881,7 +10881,7 @@ static void __devinit tg3_read_fw_ver(struct tg3 *tp)
 	}
 
 	if (!(tp->tg3_flags & TG3_FLAG_ENABLE_ASF) ||
-	     (tp->tg3_flags & TG3_FLG3_ENABLE_APE))
+	     (tp->tg3_flags3 & TG3_FLG3_ENABLE_APE))
 		return;
 
 	for (offset = TG3_NVM_DIR_START;