tg3: APE flag fix
Subsystems (2)
PATCH 3/13 tg3: APE flag fix
This patch corrects a bug where the ENABLE_APE flag was tested against the wrong flag variable.
Signed-off-by Matt Carlson <[email protected]>
Signed-off-by Michael Chan <[email protected]>
drivers/net/tg3.c +1 -1
@@ -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;
David Miller
maintainerFrom: "Matt Carlson" <[email protected]>
Date: Fri, 09 Nov 2007 16:38:43 -0800
Quoted 5 lines
This patch corrects a bug where the
ENABLE_APEflag was tested against the wrong flag variable.Signed-off-by Matt Carlson <[email protected]>Signed-off-by Michael Chan <[email protected]>
Good catch, patch applied. Thanks Matt.