diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-06-23 07:12:22 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-06-23 07:12:22 +0000 |
commit | 113f2d399881db003b011a131ba80137a4966a4c (patch) | |
tree | 7f513dd438131d57905f8ed39f300e8fffca1610 /lib/libusb/libusb10.c | |
parent | 6efa34305bb5e56714c708e0ea703023b0c8cfd1 (diff) | |
download | FreeBSD-src-113f2d399881db003b011a131ba80137a4966a4c.zip FreeBSD-src-113f2d399881db003b011a131ba80137a4966a4c.tar.gz |
Add support for USB streams to the LibUSB v1.0 API and update the
libusb(3) manual page.
Approved by: re (gjb)
Requested by: swills
MFC after: 1 week
Diffstat (limited to 'lib/libusb/libusb10.c')
-rw-r--r-- | lib/libusb/libusb10.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libusb/libusb10.c b/lib/libusb/libusb10.c index c6eb771..e7aeee5 100644 --- a/lib/libusb/libusb10.c +++ b/lib/libusb/libusb10.c @@ -1403,7 +1403,8 @@ found: maxframe = libusb10_get_maxframe(pdev, uxfer); /* make sure the transfer is opened */ - err = libusb20_tr_open(pxfer0, buffsize, maxframe, endpoint); + err = libusb20_tr_open_stream(pxfer0, buffsize, maxframe, + endpoint, sxfer->stream_id); if (err && (err != LIBUSB20_ERROR_BUSY)) { goto failure; } |