On Sun, Mar 06, 2005 at 01:09:28AM +0100, Patrick McHardy wrote:
> Matt Mackall wrote:
> >Shorten carrier detect timeout to 4 seconds.
>
> The carrier detection looks partially broken to me. The current logic
> detects an instantly available carrier as flaky because
> netif_carrier_ok() takes less than 1/10s. This patch does what
> I assume is intended, make sure the carrier is stable for 1/10s.
Looks ok, but I've been meaning to change the second loop to something
like msleep().
Did you try this with a card that otherwise goes into the wait?
--
Mathematics is the supreme nostalgia of our time.