diff options
-rw-r--r-- | libusb/os/windows_usb.c | 3 | ||||
-rw-r--r-- | libusb/version_nano.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c index 01a4844..734c47e 100644 --- a/libusb/os/windows_usb.c +++ b/libusb/os/windows_usb.c @@ -2014,9 +2014,6 @@ static int windows_claim_interface(struct libusb_device_handle *dev_handle, int int r = LIBUSB_SUCCESS; struct windows_device_priv *priv = _device_priv(dev_handle->dev); - if (iface >= USB_MAXINTERFACES) - return LIBUSB_ERROR_INVALID_PARAM; - safe_free(priv->usb_interface[iface].endpoint); priv->usb_interface[iface].nb_endpoints= 0; diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 1ac5e98..1135a18 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10986 +#define LIBUSB_NANO 10987 |