aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/phy.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 0433fcd00943..20cc82c78137 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -729,6 +729,12 @@ static void phy_change(struct work_struct *work)
729 if (err) 729 if (err)
730 goto irq_enable_err; 730 goto irq_enable_err;
731 731
732 /* Stop timer and run the state queue now. The work function for
733 * state_queue will start the timer up again.
734 */
735 del_timer(&phydev->phy_timer);
736 schedule_work(&phydev->state_queue);
737
732 return; 738 return;
733 739
734irq_enable_err: 740irq_enable_err: