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: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
LABBE Corentin 2017-02-08 09:31:15 +01:00 committed by David S. Miller
parent b2a8315a5c
commit cba920affb
1 changed files with 1 additions and 2 deletions

View File

@ -738,8 +738,7 @@ static void stmmac_adjust_link(struct net_device *dev)
break;
default:
netif_warn(priv, link, priv->dev,
"Speed (%d) not 10/100\n",
phydev->speed);
"broken speed: %d\n", phydev->speed);
break;
}