diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-05-12 22:45:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-14 01:21:59 +0300 |
commit | 9de5d235b60a7cdfcdd5461e70c5663e713fde87 (patch) | |
tree | 4726b8d7bc1718eb41d58fd807c1cd631942d0bc /samples | |
parent | 99addbe31f5524494f4d7077bcb3f6fa64c5d160 (diff) | |
download | linux-9de5d235b60a7cdfcdd5461e70c5663e713fde87.tar.xz |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions