commit | 645a64b4911d7cadf5749d7375544fc2384e70ba | [log] [tgz] |
---|---|---|
author | Qi Zhou <atmgnd@outlook.com> | Mon Nov 14 20:55:44 2022 +0800 |
committer | Kevin O'Connor <kevin@koconnor.net> | Wed Nov 23 11:31:15 2022 -0500 |
tree | e8d01f3c4ced5fc4858eb1d8e473ef5b11c73eae | |
parent | 3208b098f51a9ef96d0dfa71d5ec3a3eaec88f0a [diff] |
usb: fix wrong init of keyboard/mouse's if first interface is not boot protocol There is always some endpoint descriptors after each interface descriptor, We should only decrement num_iface if interface type is USB_DT_INTERFACE, see https://www.beyondlogic.org/usbnutshell/usb5.shtml#ConfigurationDescriptors Signed-off-by: Qi Zhou <atmgnd@outlook.com>