diff options
Diffstat (limited to 'drivers/net/sfc/ethtool.c')
-rw-r--r-- | drivers/net/sfc/ethtool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c index 1c7b6849fe01..997ea2a3d53f 100644 --- a/drivers/net/sfc/ethtool.c +++ b/drivers/net/sfc/ethtool.c | |||
@@ -711,7 +711,8 @@ static int efx_ethtool_set_pauseparam(struct net_device *net_dev, | |||
711 | mutex_lock(&efx->mac_lock); | 711 | mutex_lock(&efx->mac_lock); |
712 | 712 | ||
713 | efx->wanted_fc = wanted_fc; | 713 | efx->wanted_fc = wanted_fc; |
714 | efx_mdio_set_pause(efx); | 714 | if (efx->phy_op->mmds & MDIO_DEVS_AN) |
715 | mdio45_ethtool_spauseparam_an(&efx->mdio, pause); | ||
715 | __efx_reconfigure_port(efx); | 716 | __efx_reconfigure_port(efx); |
716 | 717 | ||
717 | mutex_unlock(&efx->mac_lock); | 718 | mutex_unlock(&efx->mac_lock); |