Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84af67fd authored by Matt Carlson's avatar Matt Carlson Committed by David S. Miller
Browse files

[TG3]: APE flag fix



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

Signed-off-by: default avatarMatt Carlson <mcarlson@broadcom.com>
Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce057f01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;