]> git.baikalelectronics.ru Git - kernel.git/commit
phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
authorAndrew Lunn <andrew@lunn.ch>
Sun, 24 Oct 2021 19:48:03 +0000 (21:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 13:06:43 +0000 (14:06 +0100)
commita689f64fa2d7f5e79d57ca289db9d4f8efa7d50c
treed4c22ca23a953dfb295e5d5e46b80626b56285bf
parent8f5afb6597b37b6bbfb856b938fe9d56bb422ad1
phy: phy_ethtool_ksettings_set: Move after phy_start_aneg

This allows it to make use of a helper which assume the PHY is already
locked.

Fixes: f436a71240bd ("phy: add generic function to support ksetting support")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c