| commit | bed8d3034eac74a6e1ba123b5c270ea63cb6cf1a | [log] [tgz] |
|---|---|---|
| author | Ihor Dutchak <ihor.youw@gmail.com> | Tue Sep 06 21:44:57 2022 +0200 |
| committer | Tormod Volden <debian.tormod@gmail.com> | Mon Dec 19 21:39:25 2022 +0100 |
| tree | 1187ed771ae224630617712237635716a5921e46 | |
| parent | 18a64374e1b6dbca6ef53bf4ed4767414f8510d3 [diff] |
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>