diff options
author | Daniel Drake <dsd@gentoo.org> | 2008-05-11 15:11:59 +0100 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2008-05-11 15:11:59 +0100 |
commit | 7bedc3b2683f35ee1dd39a2ebe0ec05be0019f38 (patch) | |
tree | 72f899ffe6a8884fb0bc8a0e2d8bbc1f4b9dfd08 | |
parent | f2ede9876cd4f5cfa7751b975670fa449187fe3d (diff) | |
download | libusb-7bedc3b2683f35ee1dd39a2ebe0ec05be0019f38.tar.gz |
Document that releasing interface causes SET_INTERFACE control request
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | libusb/core.c | 3 |
2 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,6 @@ review functionality missing over 0.1 endianness of control setup, issues when resubmitting transfers serialization of handle_events internal docs for OS porters -check which messages are sent during open, claim interface, close, release 1.0 API style/naming points to reconsider ========================================= diff --git a/libusb/core.c b/libusb/core.c index 572e6a3..175158d 100644 --- a/libusb/core.c +++ b/libusb/core.c @@ -757,7 +757,8 @@ out: * Release an interface previously claimed with libusb_claim_interface(). You * should release all claimed interfaces before closing a device handle. * - * This is a non-blocking function which does not generate any bus requests. + * This is a blocking function. A SET_INTERFACE control request will be sent + * to the device, resetting interface state to the first alternate setting. * * \param dev a device handle * \param interface_number the <tt>bInterfaceNumber</tt> of the |