commit | b63d47356a6c87e88ef83da3325ccf81a7b3a410 | [log] [tgz] |
---|---|---|
author | Jerry Zhang <zhangjerry@google.com> | Tue Feb 21 22:52:56 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Feb 21 22:52:57 2017 +0000 |
tree | b8cb6786bb819afacb77f886d44529a2e1b9f05a | |
parent | 01815fdcc52e6e94fe078d34ffdd71752e1aafdc [diff] | |
parent | f3fb7de3c86f14939a67268cf5fc5713dc3c175e [diff] |
Merge "adb: set max_rw to USB_FFS_BULK_SIZE explicitly"
diff --git a/adb/daemon/usb.cpp b/adb/daemon/usb.cpp index ac05d4c..c08b922 100644 --- a/adb/daemon/usb.cpp +++ b/adb/daemon/usb.cpp
@@ -319,7 +319,7 @@ D("[ adb: cannot call endpoint alloc: errno=%d ]", errno); // Kernel pre-allocation could have failed for recoverable reasons. // Continue running with a safe max rw size. - h->max_rw *= 2; + h->max_rw = USB_FFS_BULK_SIZE; return true; err: