mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Oops, forgot to actually cvs add the patch in previous commit...
(Set USBD_SHORT_XFER_OK when reading strings.)
This commit is contained in:
parent
fc1300feb4
commit
66845e0a35
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146558
11
devel/libusb/files/patch-bsd.c
Normal file
11
devel/libusb/files/patch-bsd.c
Normal file
@ -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__)
|
Loading…
Reference in New Issue
Block a user