Skip to content

Commit 49230b4

Browse files
aakoskingregkh
authored andcommitted
staging: octeon: fix broken phylib usage
Commit 2b3e88e ("net: phy: improve phy state checking") added checks for phylib usage, and this triggers with OCTEON ethernet and results in broken networking. Fix by replacing phy_start_aneg() with phy_start(). Fixes: 2b3e88e ("net: phy: improve phy state checking") Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f17b5f0 commit 49230b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/octeon/ethernet-mdio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ int cvm_oct_phy_setup_device(struct net_device *dev)
170170
return -ENODEV;
171171

172172
priv->last_link = 0;
173-
phy_start_aneg(phydev);
173+
phy_start(phydev);
174174

175175
return 0;
176176
no_phy:

0 commit comments

Comments
 (0)