From: Xenia Ragiadakou Date: Wed, 4 Sep 2013 14:24:45 +0000 (+0300) Subject: usbcore: check usb device's state before sending a Set SEL control transfer X-Git-Tag: v3.12-rc3~1^2~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38d7f6885164b114fdfae84bc18397e8fced9b00;p=pandora-kernel.git usbcore: check usb device's state before sending a Set SEL control transfer Set SEL control urbs cannot be sent to a device in unconfigured state. This patch adds a check in usb_req_set_sel() to ensure the usb device's state is USB_STATE_CONFIGURED. Signed-off-by: Xenia Ragiadakou Reported-by: Martin MOKREJS Suggested-by: Sarah Sharp Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed