Skip to content

Conversation

jfischer-no
Copy link
Contributor

The interface descriptor and its associated string descriptor are shared between different speed configurations. Do not try to add a string descriptor if it has already been added and the index is not zero.

Similar to commit ec851ba
("usb: device_next: avoid false error logging in CDC ACM").

Fixes: #95192

The interface descriptor and its associated string descriptor are shared
between different speed configurations. Do not try to add a string
descriptor if it has already been added and the index is not zero.

Similar to commit ec851ba
("usb: device_next: avoid false error logging in CDC ACM").

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
@jfischer-no jfischer-no added bug The issue is a bug, or the PR is fixing a bug area: USB Universal Serial Bus labels Sep 1, 2025
Copy link

sonarqubecloud bot commented Sep 1, 2025

@kartben kartben merged commit 1d28253 into zephyrproject-rtos:main Sep 3, 2025
30 checks passed
@jfischer-no jfischer-no deleted the 95192 branch September 3, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The usbd_init_configurations function calls the init function of the class twice.
4 participants