Skip to content
Commit 07b942f6 authored by Bartosz Sokolski's avatar Bartosz Sokolski Committed by Carles Cufí
Browse files

usb: device: limit interface bits in setup message to 8



In setup messages addressing classes, USB standard defines that wIndex
constains interface number encoded in bits 0..7. Bits 8..15
are reserved and normally set to 0. However, in Audio Class they contain
entity number. Hence the need to filter 8 bits for getting interface
number.

Signed-off-by: default avatarBartosz Sokolski <bartosz.sokolski@nordicsemi.no>
parent a2197107
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment