commit | 4b0b65c1b8cd08072074c2dbe640be55756d24c7 | [log] [tgz] |
---|---|---|
author | Johann Fischer <j.fischer@phytec.de> | Mon Apr 30 16:35:50 2018 +0200 |
committer | Anas Nashif <nashif@linux.intel.com> | Mon May 14 17:24:52 2018 -0400 |
tree | a7d6145493df77f0745b039fde51e58663cc0885 | |
parent | 9af44d8256e863214ebfaabf7349542cd69a6caf [diff] |
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: Johann Fischer <j.fischer@phytec.de>