Skip to content
Commit a1afd349 authored by Tomasz Moń's avatar Tomasz Moń Committed by Alberto Escolar
Browse files

usb: device_next: initialize BOS device caps number



Explicitly initialize bNumDeviceCaps to 0 because the bos descriptor is
stored on stack.

Fixes: b0d7d708 ("usb: device_next: add initial BOS support")
Coverity-CID: 368798

Signed-off-by: default avatarTomasz Moń <tomasz.mon@nordicsemi.no>
parent 814403a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment