]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r301842:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Jun 2016 10:46:10 +0000 (10:46 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Jun 2016 10:46:10 +0000 (10:46 +0000)
commit4d5cdd05510c096339862b9cd97273e1aef28bdc
tree4eed380d51543833cf91bef24e418fe3aacdd9ae
parentd2c523d9da13978575ddf5764527571600dd7398
MFC r301842:
Implement code to stop all USB endpoints before executing a USB device
reset command, alternate setting command or set configuration
command. Else LibUSB v1.0 will not re-open the endpoints which the
kernel closes and the USB application might wait infinitely for
transfers to complete.

git-svn-id: svn://svn.freebsd.org/base/stable/9@302273 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libusb/libusb10.c