WICG / webusb

Connecting hardware to the web.
https://wicg.github.io/webusb/
Other
1.31k stars 131 forks source link

Fix up device filter matching algorithm #139

Closed reillyeon closed 6 years ago

reillyeon commented 6 years ago

This change cleans up the device filter matching algorithm and reorders the steps so that the serial number (if part of the filter) is checked before attempting to match an interface. Otherwise the serial number will be ignored if an interface class is part of the filter.

This resolves issue 138.


Preview | Diff