diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2012-10-11 22:51:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-21 09:32:42 -0700 |
commit | 680fb76fbb854d3167477ce83388eb9db36d7dde (patch) | |
tree | 86d503eabcc6ec37a72577fe4ed56b59a50b705e /net/lapb/lapb_iface.c | |
parent | 6c34ed3be47036c173f7f43df112f93fbd89026f (diff) |
mcs7830: Fix link state detection
commit dabdaf0caa3af520dbc1df87b2fb4e77224037bd upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions