diff options
Diffstat (limited to 'drivers/usb/atm/usbatm.c')
-rw-r--r-- | drivers/usb/atm/usbatm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index c925e3a42672..5d339af16248 100644 --- a/drivers/usb/atm/usbatm.c +++ b/drivers/usb/atm/usbatm.c | |||
@@ -270,7 +270,10 @@ static void usbatm_complete(struct urb *urb, struct pt_regs *regs) | |||
270 | 270 | ||
271 | spin_unlock_irqrestore(&channel->lock, flags); | 271 | spin_unlock_irqrestore(&channel->lock, flags); |
272 | 272 | ||
273 | if (unlikely(urb->status)) { | 273 | if (unlikely(urb->status) && |
274 | (!(channel->usbatm->flags & UDSL_IGNORE_EILSEQ) || | ||
275 | urb->status != -EILSEQ )) | ||
276 | { | ||
274 | if (printk_ratelimit()) | 277 | if (printk_ratelimit()) |
275 | atm_warn(channel->usbatm, "%s: urb 0x%p failed (%d)!\n", | 278 | atm_warn(channel->usbatm, "%s: urb 0x%p failed (%d)!\n", |
276 | __func__, urb, urb->status); | 279 | __func__, urb, urb->status); |