diff options
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index e1a1e54baac2..e24708f1fc16 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c | |||
@@ -437,8 +437,8 @@ int phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd) | |||
437 | } | 437 | } |
438 | break; | 438 | break; |
439 | case MII_ADVERTISE: | 439 | case MII_ADVERTISE: |
440 | mii_adv_to_linkmode_adv_t(phydev->advertising, | 440 | mii_adv_mod_linkmode_adv_t(phydev->advertising, |
441 | val); | 441 | val); |
442 | change_autoneg = true; | 442 | change_autoneg = true; |
443 | break; | 443 | break; |
444 | default: | 444 | default: |