Date: Tue, 28 Jun 2011 14:10:39 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r223643 - stable/8/lib/libusb Message-ID: <201106281410.p5SEAdEr052714@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106281410.p5SEAdEr052714>