Descriptors can be delivered with short transfers.

This commit is contained in:
Nick Hibma 1999-05-03 23:21:28 +00:00
parent a13cdf0c74
commit 139559717b

View File

@ -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