Commit cba920af authored by LABBE Corentin's avatar LABBE Corentin Committed by David S. Miller

net: stmmac: Correct the error message about invalid speed

The message about invalid speed does not state 1000 as a valid speed.
It is much simpler to said that the speed is invalid.
Signed-off-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b2a8315a
...@@ -738,8 +738,7 @@ static void stmmac_adjust_link(struct net_device *dev) ...@@ -738,8 +738,7 @@ static void stmmac_adjust_link(struct net_device *dev)
break; break;
default: default:
netif_warn(priv, link, priv->dev, netif_warn(priv, link, priv->dev,
"Speed (%d) not 10/100\n", "broken speed: %d\n", phydev->speed);
phydev->speed);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment