svn commit: r223643 - stable/8/lib/libusb
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Jun 28 14:10:39 UTC 2011
Author: hselasky
Date: Tue Jun 28 14:10:39 2011
New Revision: 223643
URL: http://svn.freebsd.org/changeset/base/223643
Log:
MFC r223642.
LibUSB v1.0 clear stall bugfix.
Modified:
stable/8/lib/libusb/libusb10.c
Directory Properties:
stable/8/lib/libusb/ (props changed)
stable/8/lib/libusb/usb.h (props changed)
Modified: stable/8/lib/libusb/libusb10.c
==============================================================================
--- stable/8/lib/libusb/libusb10.c Tue Jun 28 14:07:28 2011 (r223642)
+++ stable/8/lib/libusb/libusb10.c Tue Jun 28 14:10:39 2011 (r223643)
@@ -636,7 +636,7 @@ libusb_clear_halt(struct libusb20_device
return (LIBUSB_ERROR_INVALID_PARAM);
CTX_LOCK(dev->ctx);
- err = libusb20_tr_open(xfer, 0, 0, endpoint);
+ err = libusb20_tr_open(xfer, 0, 1, endpoint);
CTX_UNLOCK(dev->ctx);
if (err != 0 && err != LIBUSB20_ERROR_BUSY)
More information about the svn-src-stable
mailing list