aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/stmmac/stmmac_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c
index bbb7951b9c4c..86b6c69c068c 100644
--- a/drivers/net/stmmac/stmmac_main.c
+++ b/drivers/net/stmmac/stmmac_main.c
@@ -238,6 +238,9 @@ static void stmmac_adjust_link(struct net_device *dev)
238 case 1000: 238 case 1000:
239 if (likely(priv->is_gmac)) 239 if (likely(priv->is_gmac))
240 ctrl &= ~priv->hw->link.port; 240 ctrl &= ~priv->hw->link.port;
241 if (likely(priv->fix_mac_speed))
242 priv->fix_mac_speed(priv->bsp_priv,
243 phydev->speed);
241 break; 244 break;
242 case 100: 245 case 100:
243 case 10: 246 case 10: