aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <[email protected]>2018-06-27 12:33:56 +1000
committerFelipe Balbi <[email protected]>2018-07-17 10:12:51 +0300
commit50b9773c13bffbef32060e67c4483ea7b2eca7b5 (patch)
treed1fed8535c3c4a8c981da6dc66c8928230628c42 /tools/perf/scripts/python/export-to-sqlite.py
parent9196b55e1270da125d5f126c1b91f1843e552f17 (diff)
usb: gadget: Fix OS descriptors support
The current code is broken as it re-defines "req" inside the if block, then goto out of it. Thus the request that ends up being sent is not the one that was populated by the code in question. This fixes RNDIS driver autodetect by Windows 10 for me. The bug was introduced by Chris rework to remove the local queuing inside the if { } block of the redefined request. Fixes: 636ba13aec8a ("usb: gadget: composite: remove duplicated code in OS desc handling") Cc: <[email protected]> # v4.17 Signed-off-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions