From 139559717bc77367a1305acdeaf319c4205a8a04 Mon Sep 17 00:00:00 2001 From: Nick Hibma Date: Mon, 3 May 1999 23:21:28 +0000 Subject: [PATCH] Descriptors can be delivered with short transfers. --- sys/dev/usb/usbdi_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/usbdi_util.c b/sys/dev/usb/usbdi_util.c index 2b3e96e66409..27b7a32c9e02 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