diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 2005-10-28 09:36:19 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 2005-10-28 09:36:19 +0000 |
| commit | 66845e0a356729d1f603a194cad383c67e680302 (patch) | |
| tree | fe886e59f6fa120b6b3dc7fef68e10ac93d0136b /devel/libusb/files/patch-bsd.c | |
| parent | Set the USBD_SHORT_XFER_OK flag when trying to read a string. (diff) | |
Oops, forgot to actually cvs add the patch in previous commit...
(Set USBD_SHORT_XFER_OK when reading strings.)
Notes
Notes:
svn path=/head/; revision=146558
Diffstat (limited to 'devel/libusb/files/patch-bsd.c')
| -rw-r--r-- | devel/libusb/files/patch-bsd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libusb/files/patch-bsd.c b/devel/libusb/files/patch-bsd.c new file mode 100644 index 000000000000..f4b3c5373744 --- /dev/null +++ b/devel/libusb/files/patch-bsd.c @@ -0,0 +1,11 @@ +--- 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__) |
