Christophe Kerello d57ed4d9f2 usb: gadget: composite: fix NULL pointer when a non standard request is received
In case usb configuration is unknown (cdev->config == NULL), non standard
request should not be processed.
Remove also the cdev->config check below which will never happen.

This issue was seen using ums feature.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
2018-04-26 15:15:07 +02:00
..
2017-07-06 16:17:19 -04:00
2015-07-22 08:57:54 +02:00
2014-09-24 18:30:29 -04:00
2017-08-16 08:30:24 -04:00
2011-02-19 20:32:37 +01:00