]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r301842:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Jun 2016 10:43:31 +0000 (10:43 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Jun 2016 10:43:31 +0000 (10:43 +0000)
commitc666ba4b9b0a1d69dfa629f0089a57a58cd0d31e
tree008515c143c64837950f1b887e0420616ce96893
parentbbf5db674fe408dd7de2c381ef99a070c90370a7
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/10@302272 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libusb/libusb10.c