diff options
author | Josh Gao <jmgao@google.com> | 2018-08-22 15:13:18 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2018-08-22 17:11:40 -0700 |
commit | 5d799cd454b64f221b6ac447fbf18d597338cddf (patch) | |
tree | 12121f9cf81aa26e1efdfaf99295f91be50bc0ab /debuggerd/handler/debuggerd_handler.cpp | |
parent | 22c1eefb0df8ca42659b8869498622039695e2a2 (diff) |
adb: fix spurious usb write failure on Windows.
We were accidentally returning 0 instead of the number of bytes written
whenever we wrote a USB packet that had a size that was a multiple of
the USB packet size, which resulted in the device getting kicked.
Bug: http://b/113070258
Test: python test_device.py
Change-Id: Ib3d6415545e90e1f4730afc8ad8713d10bb1534a
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions