[PATCH] extend UDSL_IGNORE_EILSEQ quirks to frame status
matthieu castet
castet.matthieu at free.fr
Sun Nov 12 11:08:14 EST 2006
Hi,
matthieu castet wrote:
> Hi,
>
> this patch extend the UDSL_IGNORE_EILSEQ quirks to frame status.
> It is needed for new version of the eagle modem.
> It also print the status of the frame, not urb->status in case of error.
>
>
> Signed-off-by: Matthieu CASTET <castet.matthieu at free.fr>
>
>
> ------------------------------------------------------------------------
>
> Index: linux/drivers/usb/atm/usbatm.c
> ===================================================================
> --- linux.orig/drivers/usb/atm/usbatm.c 2006-10-15 00:20:27.000000000 +0200
> +++ linux/drivers/usb/atm/usbatm.c 2006-10-15 00:21:19.000000000 +0200
> @@ -550,8 +550,9 @@
> usbatm_extract_cells(instance, merge_start, merge_length);
> merge_length = 0;
> }
> - } else
> - atm_rldbg(instance, "%s: status %d in frame %d!\n", __func__, urb->status, i);
> + } else if (!(instance->flags & UDSL_IGNORE_EILSEQ) ||
> + urb->iso_frame_desc[i].status != -EILSEQ ) {
> + atm_rldbg(instance, "%s: status %d in frame %d!\n", __func__, urb->iso_frame_desc[i].status, i);
> if (merge_length)
> usbatm_extract_cells(instance, merge_start, merge_length);
> merge_length = 0;
>
Any review on this ?
Thanks,
Matthieu
More information about the Usbatm
mailing list