ports/devel/libusb/files/patch-bsd.c
Joerg Wunsch 66845e0a35 Oops, forgot to actually cvs add the patch in previous commit...
(Set USBD_SHORT_XFER_OK when reading strings.)
2005-10-28 09:36:19 +00:00

11 lines
311 B
C

--- bsd.c.orig Wed Feb 18 07:34:52 2004
+++ bsd.c Thu Jun 16 22:08:00 2005
@@ -457,7 +457,7 @@
USETW(req.ucr_request.wLength, size);
req.ucr_data = bytes;
- req.ucr_flags = 0;
+ req.ucr_flags = USBD_SHORT_XFER_OK;
ret = ioctl(dev->fd, USB_SET_TIMEOUT, &timeout);
#if (__NetBSD__ || __OpenBSD__)