aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorXenia Ragiadakou <[email protected]>2013-09-04 17:24:45 +0300
committerSarah Sharp <[email protected]>2013-09-23 15:43:32 -0700
commit38d7f6885164b114fdfae84bc18397e8fced9b00 (patch)
tree35645e216dc920570fe00cbc36cb60a7f332a5a2 /tools/perf/util/scripting-engines/trace-event-python.c
parent526867c3ca0caa2e3e846cb993b0f961c33c2abb (diff)
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 <[email protected]> Reported-by: Martin MOKREJS <[email protected]> Suggested-by: Sarah Sharp <[email protected]> Signed-off-by: Sarah Sharp <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions