Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Revert "net: phylink: set the autoneg state in phylink_phy_change"

This reverts commit ef7bfa84725d891bbdb88707ed55b2cbf94942bb.

Russell King espressed some strong opposition to this
change, explaining that this is trying to make phylink
behave outside of how it has been designed.

Signed-off-by: David S. Miller <davem@davemloft.net>

-1
-1
drivers/net/phy/phylink.c
··· 635 635 pl->phy_state.pause |= MLO_PAUSE_ASYM; 636 636 pl->phy_state.interface = phydev->interface; 637 637 pl->phy_state.link = up; 638 - pl->phy_state.an_enabled = phydev->autoneg; 639 638 mutex_unlock(&pl->state_mutex); 640 639 641 640 phylink_run_resolve(pl);