diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2007-11-13 00:08:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-13 00:08:59 -0500 |
commit | 84af67fdf07c4fce664dbca87a8d5e2802901bff (patch) | |
tree | 4edb544f9a8caba4f9642701e07786cda32ac05d | |
parent | ce057f01956bfcb3cb8588091000ae546be78e00 (diff) |
[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 <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/tg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 82b1cf0e2d18..833cb9b7f343 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -10881,7 +10881,7 @@ static void __devinit tg3_read_fw_ver(struct tg3 *tp) | |||
10881 | } | 10881 | } |
10882 | 10882 | ||
10883 | if (!(tp->tg3_flags & TG3_FLAG_ENABLE_ASF) || | 10883 | if (!(tp->tg3_flags & TG3_FLAG_ENABLE_ASF) || |
10884 | (tp->tg3_flags & TG3_FLG3_ENABLE_APE)) | 10884 | (tp->tg3_flags3 & TG3_FLG3_ENABLE_APE)) |
10885 | return; | 10885 | return; |
10886 | 10886 | ||
10887 | for (offset = TG3_NVM_DIR_START; | 10887 | for (offset = TG3_NVM_DIR_START; |