commit | a8c9d5dc4ee12978a7aef0f4e5ec7131febccc0a | [log] [tgz] |
---|---|---|
author | Raj Mojumder <rmojumder@google.com> | Wed Sep 05 10:04:06 2018 -0700 |
committer | Raj Mojumder <rmojumder@google.com> | Fri Sep 07 19:55:10 2018 +0000 |
tree | e5a60a4a2b6e38ff78ef29c3419906bcc67fcad0 | |
parent | 0e57c50d14773b41c971c7bf1f884293cb858ce4 [diff] |
Add timeout to usb_device_get_string_ucs2 invocation to prevent potential unbounded stuck state. Consistent with other usages of usb_device_get_string (that calls usb_device_get_string_ucs2) employing 200ms timeout values. Bug: b/113581955 Test: Built and tested the code path. Change-Id: I9fd0305ed4f6bffae16fd08f83f57ccac6c72de1