Skip to content
Commit 8d7ed0f0 authored by Lucas Stach's avatar Lucas Stach Committed by David S. Miller
Browse files

net: fec: fix regression in link change accounting

A link-down isn't properly saved in the FEC state, so we wouldn't restart the
FEC after a repeated link-up.

Regression was introduced with commit
d97e7497

 "net: fec: restart the FEC when PHY speed changes"

Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Tested-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 32b161aa
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