]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r301842:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Jun 2016 10:47:44 +0000 (10:47 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Jun 2016 10:47:44 +0000 (10:47 +0000)
commit1471c6efa6791d7b957d27f6b8a13763806aeacf
tree74efc4133e6fc2375482f0318e51421a72d97e4e
parenta0b729892e23dcedfc14d5034ddf6a1b409175d2
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/8@302274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libusb/libusb10.c