Revert "net: phylink: set the autoneg state in phylink_phy_change"
This reverts commit ef7bfa8472
.
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>
This commit is contained in:
parent
42f5cda5ea
commit
5db2e7c791
@ -635,7 +635,6 @@ static void phylink_phy_change(struct phy_device *phydev, bool up,
|
|||||||
pl->phy_state.pause |= MLO_PAUSE_ASYM;
|
pl->phy_state.pause |= MLO_PAUSE_ASYM;
|
||||||
pl->phy_state.interface = phydev->interface;
|
pl->phy_state.interface = phydev->interface;
|
||||||
pl->phy_state.link = up;
|
pl->phy_state.link = up;
|
||||||
pl->phy_state.an_enabled = phydev->autoneg;
|
|
||||||
mutex_unlock(&pl->state_mutex);
|
mutex_unlock(&pl->state_mutex);
|
||||||
|
|
||||||
phylink_run_resolve(pl);
|
phylink_run_resolve(pl);
|
||||||
|
Loading…
Reference in New Issue
Block a user