diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index e561ef1e842af8443fe05762e997c6c534bb5a56..6019e0aba23474869e2d6ca89e44385a21c11238 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -861,6 +861,8 @@ void phy_stop(struct phy_device *phydev) out_unlock: mutex_unlock(&phydev->lock); + phy_state_machine(&phydev->state_queue.work); + /* Cannot call flush_scheduled_work() here as desired because * of rtnl_lock(), but PHY_HALTED shall guarantee phy_change() * will not reenable interrupts.