summaryrefslogtreecommitdiff
path: root/libusb/core.c
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-05-11 15:11:59 +0100
committerDaniel Drake <dsd@gentoo.org>2008-05-11 15:11:59 +0100
commit7bedc3b2683f35ee1dd39a2ebe0ec05be0019f38 (patch)
tree72f899ffe6a8884fb0bc8a0e2d8bbc1f4b9dfd08 /libusb/core.c
parentf2ede9876cd4f5cfa7751b975670fa449187fe3d (diff)
downloadlibusb-7bedc3b2683f35ee1dd39a2ebe0ec05be0019f38.tar.gz
Document that releasing interface causes SET_INTERFACE control request
Diffstat (limited to 'libusb/core.c')
-rw-r--r--libusb/core.c3
1 files changed, 2 insertions, 1 deletions
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