commit | befd3b9e493d341339fc28b7d79ea492c15d1433 | [log] [tgz] |
---|---|---|
author | Jerry Zhang <zhangjerry@google.com> | Fri Apr 28 01:06:09 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Apr 28 01:06:09 2017 +0000 |
tree | c4e600ad324208776e9122e4ccce901965723c3f | |
parent | 6a604f01539587c01c8deed8e7b0bfe866bae424 [diff] | |
parent | 049b93959ba800d1088360c5c974f51c382d04e9 [diff] |
Merge "Revert "adb: Lower EP_ALLOC retry count""
diff --git a/adb/daemon/usb.cpp b/adb/daemon/usb.cpp index 7e46b02..d3b2f3d 100644 --- a/adb/daemon/usb.cpp +++ b/adb/daemon/usb.cpp
@@ -64,7 +64,7 @@ #define FUNCTIONFS_ENDPOINT_ALLOC _IOR('g', 231, __u32) -static constexpr size_t ENDPOINT_ALLOC_RETRIES = 2; +static constexpr size_t ENDPOINT_ALLOC_RETRIES = 10; static int dummy_fd = -1;