rtl8366_smi: sanitize gpio values to a 0/1 boolean
[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.023798 seconds and 4 git commands to generate.