summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/usbdi_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdi_util.c b/sys/dev/usb/usbdi_util.c
index 2b3e96e..27b7a32 100644
--- a/sys/dev/usb/usbdi_util.c
+++ b/sys/dev/usb/usbdi_util.c
@@ -76,7 +76,7 @@ usbd_get_desc(dev, type, index, len, desc)
USETW2(req.wValue, type, index);
USETW(req.wIndex, 0);
USETW(req.wLength, len);
- return (usbd_do_request(dev, &req, desc));
+ return (usbd_do_request_flags(dev, &req, desc, USBD_SHORT_XFER_OK, NULL));
}
usbd_status
OpenPOWER on IntegriCloud