Skip to content
Commit 4b0b65c1 authored by Johann Fischer's avatar Johann Fischer Committed by Anas Nashif
Browse files

subsys: usb: check for invalid descriptor type request



Implementation of Get Descriptor Request should not return interface
or endpoint descriptors in a single request without configuration
descriptor, see USB Spec. Revision 2.0, 9.4.3 Get Descriptor

This patch fixes linux kernel usbtest subtest 7 and subtest 11 errors.

Signed-off-by: default avatarJohann Fischer <j.fischer@phytec.de>
parent 9af44d82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment