rtl8306: manage the wan port as a separate phy device with proper link status reading...
[openwrt.git] / target / linux / generic-2.6 / files / drivers / net / phy / adm6996.c
index 972d20c..bc40be0 100644 (file)
@@ -96,7 +96,7 @@ static int adm6996_read_status(struct phy_device *phydev)
 {
        phydev->speed = SPEED_100;
        phydev->duplex = DUPLEX_FULL;
-       phydev->state = PHY_UP;
+       phydev->link = 1;
        return 0;
 }
 
This page took 0.0229 seconds and 4 git commands to generate.