HomeFreeBSD

usb: fix loop in usb_config_parse

Description

usb: fix loop in usb_config_parse

By inspection, index increment was missing.

PR: 281843
Reported by: Matt Jacobson
Reviewed by: bz, markj
Fixes: e4611d26265f ("usb(4): Call optional endpoint_uninit() when changing configuration or alternate setting.")
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on Oct 4 2024, 3:49 PM
Differential Revision
D47509: usb: fix loop in usb_config_parse
Parents
rG37e54466cf7a: net80211: clean up / add more macros to check the frame types
Branches
Unknown
Tags
Unknown