|
@@ -756,12 +756,8 @@ void phy_state_machine(struct work_struct *work)
|
|
|
netif_carrier_on(phydev->attached_dev);
|
|
|
phydev->adjust_link(phydev->attached_dev);
|
|
|
|
|
|
- } else if (0 == phydev->link_timeout--) {
|
|
|
+ } else if (0 == phydev->link_timeout--)
|
|
|
needs_aneg = 1;
|
|
|
- /* If we have the magic_aneg bit, we try again */
|
|
|
- if (phydev->drv->flags & PHY_HAS_MAGICANEG)
|
|
|
- break;
|
|
|
- }
|
|
|
break;
|
|
|
case PHY_NOLINK:
|
|
|
err = phy_read_status(phydev);
|