commit | c280143d9b42a34874ef27a16dcdf4f81551fa10 | [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 | b63d47356a6c87e88ef83da3325ccf81a7b3a410 [diff] | |
parent | d69e801fe890d1732906aaadb8aa06244bb4ac52 [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: