phy:icplus:fix Auto Power Saving in ip101a_config_init.
[linux-flexiantxendom0-3.2.10.git] / drivers / net / phy / icplus.c
index 0856e1b..f08c85a 100644 (file)
@@ -162,7 +162,8 @@ static int ip101a_g_config_init(struct phy_device *phydev)
        /* Enable Auto Power Saving mode */
        c = phy_read(phydev, IP10XX_SPEC_CTRL_STATUS);
        c |= IP101A_G_APS_ON;
-       return c;
+
+       return phy_write(phydev, IP10XX_SPEC_CTRL_STATUS, c);
 }
 
 static int ip175c_read_status(struct phy_device *phydev)