commit | 9a8e2ae900363ec2cc6152eca10da1f7dac8f199 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Tue Feb 21 23:06:33 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Feb 21 23:06:34 2017 +0000 |
tree | 971e3d3950fa653a29b58f86a3a3b05d83e1e23d | |
parent | f191b0eb192cb7cc3ea8352d66bb0fdaa31592a7 [diff] | |
parent | 3b50faa679cd83be1e37dd755cf126bee5912dc0 [diff] |
Merge "liblog: Harden log_id check."
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: