|
@@ -862,6 +862,7 @@ out_unlock:
|
|
|
mutex_unlock(&phydev->lock);
|
|
mutex_unlock(&phydev->lock);
|
|
|
|
|
|
|
|
phy_state_machine(&phydev->state_queue.work);
|
|
phy_state_machine(&phydev->state_queue.work);
|
|
|
|
|
+ phy_stop_machine(phydev);
|
|
|
|
|
|
|
|
/* Cannot call flush_scheduled_work() here as desired because
|
|
/* Cannot call flush_scheduled_work() here as desired because
|
|
|
* of rtnl_lock(), but PHY_HALTED shall guarantee phy_change()
|
|
* of rtnl_lock(), but PHY_HALTED shall guarantee phy_change()
|