mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
net: phy: trigger state machine immediately in phy_start_machine
When starting the state machine there may be work to be done immediately, e.g. if the initial state is PHY_UP then the state machine may trigger an autonegotiation. Having said that I see no need to wait a second until the state machine is run first time. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a75d1801a9
commit
6384e48323
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ static void phy_queue_state_machine(struct phy_device *phydev,
|
|||
*/
|
||||
void phy_start_machine(struct phy_device *phydev)
|
||||
{
|
||||
phy_queue_state_machine(phydev, 1);
|
||||
phy_trigger_machine(phydev);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(phy_start_machine);
|
||||
|
||||
|
|
Loading…
Reference in a new issue