Skip to content
Commit 31587ca6 authored by Emil Obalski's avatar Emil Obalski Committed by Carles Cufí
Browse files

usb: Do not check usb_dev.configured in is_dev_configured()



Flag name usb_dev.configured is misleading as it does not
mean the device is configured. This flag indicates whenever
endpoints for the device were enabled. For all classes
except for audio endpoints are enabled on set_configuration
request. This sets the configured flag true. For Audio this
will never happen as what enables audio endpoints is
set_interface request. Without this patch audio samples
will STALL all interface requests.

Signed-off-by: default avatarEmil Obalski <emil.obalski@nordicsemi.no>
parent fafb72f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment