aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 0ebf2ff60c4b..e952b91ca2ac 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -7862,7 +7862,8 @@ static void tg3_timer(unsigned long __opaque)
7862 * resets. 7862 * resets.
7863 */ 7863 */
7864 if (!--tp->asf_counter) { 7864 if (!--tp->asf_counter) {
7865 if (tp->tg3_flags & TG3_FLAG_ENABLE_ASF) { 7865 if ((tp->tg3_flags & TG3_FLAG_ENABLE_ASF) &&
7866 !(tp->tg3_flags3 & TG3_FLG3_ENABLE_APE)) {
7866 u32 val; 7867 u32 val;
7867 7868
7868 tg3_wait_for_event_ack(tp); 7869 tg3_wait_for_event_ack(tp);