diff options
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/phy_device.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 18e92c19c5ab..26c41ede54a4 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c | |||
@@ -308,11 +308,8 @@ static int mdio_bus_phy_restore(struct device *dev) | |||
308 | if (ret < 0) | 308 | if (ret < 0) |
309 | return ret; | 309 | return ret; |
310 | 310 | ||
311 | /* The PHY needs to renegotiate. */ | 311 | if (phydev->attached_dev && phydev->adjust_link) |
312 | phydev->link = 0; | 312 | phy_start_machine(phydev); |
313 | phydev->state = PHY_UP; | ||
314 | |||
315 | phy_start_machine(phydev); | ||
316 | 313 | ||
317 | return 0; | 314 | return 0; |
318 | } | 315 | } |