From: Ondrej Zary
Date: Thu, 11 Oct 2012 12:33:28 +0200
> 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
Hi,
On Thu, Oct 11, 2012 at 12:33:28PM +0200, Ondrej Zary wrote:
> u8 *buf = urb->transfer_buffer;
> bool link;
> + struct mcs7830_data *data = mcs7830_get_data(dev);
>
> if (urb->actual_length < 16)
> return;
Alternatively could do *data = NULL; and then act
2 matches
Mail list logo