|
@@ -270,7 +270,10 @@ static void usbatm_complete(struct urb *urb, struct pt_regs *regs)
|
|
|
|
|
|
spin_unlock_irqrestore(&channel->lock, flags);
|
|
spin_unlock_irqrestore(&channel->lock, flags);
|
|
|
|
|
|
- if (unlikely(urb->status)) {
|
|
|
|
|
|
+ if (unlikely(urb->status) &&
|
|
|
|
+ (!(channel->usbatm->flags & UDSL_IGNORE_EILSEQ) ||
|
|
|
|
+ urb->status != -EILSEQ ))
|
|
|
|
+ {
|
|
if (printk_ratelimit())
|
|
if (printk_ratelimit())
|
|
atm_warn(channel->usbatm, "%s: urb 0x%p failed (%d)!\n",
|
|
atm_warn(channel->usbatm, "%s: urb 0x%p failed (%d)!\n",
|
|
__func__, urb, urb->status);
|
|
__func__, urb, urb->status);
|