diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2012-10-11 22:51:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-12 13:56:52 -0400 |
commit | dabdaf0caa3af520dbc1df87b2fb4e77224037bd (patch) | |
tree | 27de4c1b7c097ab07193e4ba29c6a11a6a08b53c /net | |
parent | 93ac0ef016a1b223d23fbb5e0397cab75a8f7d34 (diff) | |
download | op-kernel-dev-dabdaf0caa3af520dbc1df87b2fb4e77224037bd.zip op-kernel-dev-dabdaf0caa3af520dbc1df87b2fb4e77224037bd.tar.gz |
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: Ondrej Zary <linux@rainbow-software.org>
Reported-by: Michael Leun <lkml20120218@newton.leun.net>
Tested-by: Michael Leun <lkml20120218@newton.leun.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions