zephyr/subsys/usb
Johann Fischer 2dbccf0654 usb: device_next: do not set alternate 0 for non-existent interfaces
A request to set alternate zero for a non-existent interface
would succeed because of the inappropriate order of checks.
Move the check if the desired alternate is the same as the
current one after the check if interface exists.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2023-05-11 15:29:58 +02:00
..
device usb: audio: kconfig: Fix experimental feature 2023-05-10 11:41:50 +02:00
device_next usb: device_next: do not set alternate 0 for non-existent interfaces 2023-05-11 15:29:58 +02:00
host usb: host: improve robustness of descriptors print 2023-05-11 15:29:58 +02:00
usb_c usb-c: Add USB-C Subsystem Source PD Support 2023-04-28 10:06:01 +02:00
CMakeLists.txt usb: add initial USB host support 2022-12-16 13:21:12 +01:00