Skip to content
Commit dabdaf0c authored by Ondrej Zary's avatar Ondrej Zary Committed by David S. Miller
Browse files

mcs7830: Fix link state detection



The device had an undocumented "feature": it can provide a sequence of
spurious link-down status data even if the link is up all the time.
A sequence of 10 was seen so update the link state only after the device
reports the same link state 20 times.

Signed-off-by: default avatarOndrej Zary <linux@rainbow-software.org>
Reported-by: default avatarMichael Leun <lkml20120218@newton.leun.net>
Tested-by: default avatarMichael Leun <lkml20120218@newton.leun.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 93ac0ef0
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