summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVijayavardhan Vennapusa <vvreddy@codeaurora.org>2017-07-14 16:47:10 +0530
committerVijayavardhan Vennapusa <vvreddy@codeaurora.org>2017-07-19 11:20:48 +0530
commita5eddc1f77a2ad8d45f6494e719aa491217e4107 (patch)
tree86a66ce631b0948b18d71bba528319dc726f873b /tools/perf/scripts/python
parentbc399a65c4e048d98b6304272e32402bfca59dda (diff)
USB: f_accessory: Check for length before updating accessory string
It is possible that host sends SEND_STRING control request with zero length and in that case, driver ends up setting string as NULL. This results in CTS failure for accessory test. Hence add check for length and update string only if length is nonzero. Change-Id: I4594a46f830f45fc49f80a74ec6042383edf007d Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions