diff options
-rw-r--r-- | drivers/usb/wusbcore/wa-rpipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/wusbcore/wa-rpipe.c b/drivers/usb/wusbcore/wa-rpipe.c index bfe3752e7c9a..f18e4aae66e9 100644 --- a/drivers/usb/wusbcore/wa-rpipe.c +++ b/drivers/usb/wusbcore/wa-rpipe.c | |||
@@ -548,7 +548,7 @@ void rpipe_ep_disable(struct wahc *wa, struct usb_host_endpoint *ep) | |||
548 | result = usb_control_msg( | 548 | result = usb_control_msg( |
549 | wa->usb_dev, usb_rcvctrlpipe(wa->usb_dev, 0), | 549 | wa->usb_dev, usb_rcvctrlpipe(wa->usb_dev, 0), |
550 | USB_REQ_RPIPE_ABORT, | 550 | USB_REQ_RPIPE_ABORT, |
551 | USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_RPIPE, | 551 | USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_RPIPE, |
552 | 0, index, NULL, 0, 1000 /* FIXME: arbitrary */); | 552 | 0, index, NULL, 0, 1000 /* FIXME: arbitrary */); |
553 | if (result < 0 && result != -ENODEV /* dev is gone */) | 553 | if (result < 0 && result != -ENODEV /* dev is gone */) |
554 | d_printf(1, dev, "(wa %p rpipe %u): abort failed: %d\n", | 554 | d_printf(1, dev, "(wa %p rpipe %u): abort failed: %d\n", |