summaryrefslogtreecommitdiff
path: root/libusb/version_nano.h
diff options
context:
space:
mode:
authorIhor Dutchak <ihor.youw@gmail.com>2022-09-06 21:44:57 +0200
committerTormod Volden <debian.tormod@gmail.com>2022-12-19 21:39:25 +0100
commitbed8d3034eac74a6e1ba123b5c270ea63cb6cf1a (patch)
tree1187ed771ae224630617712237635716a5921e46 /libusb/version_nano.h
parent18a64374e1b6dbca6ef53bf4ed4767414f8510d3 (diff)
downloadlibusb-bed8d3034eac74a6e1ba123b5c270ea63cb6cf1a.tar.gz
darwin/windows: Find interface descriptor by bInterfaceNumber
For some (non USB-compliant) devices the interface number doesn't match its index in the list of interfaces in the configuration descriptor. For robustness and consistency across platforms, find the descriptor by iterating over the list to match the bInterfaceNumber. References #1093 References #1039 References #1175 Closes #1191 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r--libusb/version_nano.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 80aad0d..c9efb6d 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11749
+#define LIBUSB_NANO 11750