mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 02:54:05 +00:00
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 <[email protected]> Reported-by: Michael Leun <[email protected]> Tested-by: Michael Leun <[email protected]> Signed-off-by: David S. Miller <[email protected]>