commit | 9de5d235b60a7cdfcdd5461e70c5663e713fde87 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Tue May 12 21:45:53 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed May 13 15:21:59 2020 -0700 |
tree | 4726b8d7bc1718eb41d58fd807c1cd631942d0bc | |
parent | 99addbe31f5524494f4d7077bcb3f6fa64c5d160 [diff] |
net: phy: fix aneg restart in phy_ethtool_set_eee phy_restart_aneg() enables aneg in the PHY. That's not what we want if phydev->autoneg is disabled. In this case still update EEE advertisement register, but don't enable aneg and don't trigger an aneg restart. Fixes: f75abeb8338e ("net: phy: restart phy autonegotiation after EEE advertisment change") Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>