projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efd3fae
)
Windows: do not set altsetting 0 as part of libusb_release_interface()
author
Pete Batard
<pete@akeo.ie>
Mon, 19 Sep 2011 15:01:37 +0000
(16:01 +0100)
committer
Peter Stuge
<peter@stuge.se>
Mon, 17 Oct 2011 14:25:51 +0000
(16:25 +0200)
* pointed out by Travis Robinson and Xiaofan Chen
* similar to a change advised by Alan Stern for the Linux kernel:
http://marc.info/?m=
122790204410765
libusb/os/windows_usb.c
patch
|
blob
|
history
diff --git
a/libusb/os/windows_usb.c
b/libusb/os/windows_usb.c
index
bf1b9c6
..
68216db
100644
(file)
--- a/
libusb/os/windows_usb.c
+++ b/
libusb/os/windows_usb.c
@@
-1723,7
+1723,6
@@
static int windows_release_interface(struct libusb_device_handle *dev_handle, in
{
struct windows_device_priv *priv = _device_priv(dev_handle->dev);
- windows_set_interface_altsetting(dev_handle, iface, 0);
return priv->apib->release_interface(dev_handle, iface);
}