]> Git Repo - linux.git/commit
net: phy: fix aneg restart in phy_ethtool_set_eee
authorHeiner Kallweit <[email protected]>
Tue, 12 May 2020 19:45:53 +0000 (21:45 +0200)
committerDavid S. Miller <[email protected]>
Wed, 13 May 2020 22:21:59 +0000 (15:21 -0700)
commit9de5d235b60a7cdfcdd5461e70c5663e713fde87
tree4726b8d7bc1718eb41d58fd807c1cd631942d0bc
parent99addbe31f5524494f4d7077bcb3f6fa64c5d160
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/phy/phy.c
This page took 0.054165 seconds and 4 git commands to generate.