aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/tg3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 673ea314aa18..33dfb7fda8cc 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -7595,8 +7595,7 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
7595 tg3_abort_hw(tp, 1); 7595 tg3_abort_hw(tp, 1);
7596 } 7596 }
7597 7597
7598 if (reset_phy && 7598 if (reset_phy)
7599 !(tp->tg3_flags3 & TG3_FLG3_USE_PHYLIB))
7600 tg3_phy_reset(tp); 7599 tg3_phy_reset(tp);
7601 7600
7602 err = tg3_chip_reset(tp); 7601 err = tg3_chip_reset(tp);