uaudio: Fix confusion between interface numbers and interface indexes
authorratchov <ratchov@openbsd.org>
Tue, 23 Jul 2024 08:59:21 +0000 (08:59 +0000)
committerratchov <ratchov@openbsd.org>
Tue, 23 Jul 2024 08:59:21 +0000 (08:59 +0000)
commitba9ca4db980ab8e6dcf3fc3b889908ded605b595
tree9b56ef43f6d03b38723b6326cace87ce72540bfc
parenta7ffde75c2df7b0b8a4fe11096f87f3d32e369b8
uaudio: Fix confusion between interface numbers and interface indexes

There is rare hardware for which the interface numbers and indexes are
not equal. Such devices couldn't attach because the driver claimed the
wrong interface.
sys/dev/usb/uaudio.c