From owner-svn-src-stable-8@FreeBSD.ORG Tue Jun 28 14:10:39 2011 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0C811065670; Tue, 28 Jun 2011 14:10:39 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 905BF8FC12; Tue, 28 Jun 2011 14:10:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p5SEAdSw052716; Tue, 28 Jun 2011 14:10:39 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p5SEAdEr052714; Tue, 28 Jun 2011 14:10:39 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201106281410.p5SEAdEr052714@svn.freebsd.org> From: Hans Petter Selasky Date: Tue, 28 Jun 2011 14:10:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r223643 - stable/8/lib/libusb X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 14:10:39 -0000 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)