aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r--drivers/net/phy/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index ef7aa738e0dc..6b0f89369b46 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -507,7 +507,7 @@ static int phy_config_aneg(struct phy_device *phydev)
507 * allowed to call genphy_config_aneg() 507 * allowed to call genphy_config_aneg()
508 */ 508 */
509 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) 509 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0)))
510 return -EOPNOTSUPP; 510 return genphy_c45_config_aneg(phydev);
511 511
512 return genphy_config_aneg(phydev); 512 return genphy_config_aneg(phydev);
513} 513}