commit | f567ce5c0bb3c98cf1c340061acad052b29943a8 | [log] [tgz] |
---|---|---|
author | Jerry Zhang <zhangjerry@google.com> | Thu Feb 16 19:40:34 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Feb 16 19:40:34 2017 +0000 |
tree | df416351e520cf1e2986d0b8a3a8e8647bf4c0ca | |
parent | 9617f4b3a47f9d2cac1dff22c8fd4c677d8dde62 [diff] | |
parent | 8783f4f8bff5c5ade69b0771b8c1a70b31b46bd2 [diff] |
Merge "adb: Lower EP_ALLOC retry count" am: 49c2edf553 am: eaaedd42e2 am: 8783f4f8bf Change-Id: Iaed5fd888b2a63224502ebbe1e54688425842d57
diff --git a/daemon/usb.cpp b/daemon/usb.cpp index 6d77f4b..ac05d4c 100644 --- a/daemon/usb.cpp +++ b/daemon/usb.cpp
@@ -64,7 +64,7 @@ #define FUNCTIONFS_ENDPOINT_ALLOC _IOR('g', 231, __u32) -static constexpr size_t ENDPOINT_ALLOC_RETRIES = 10; +static constexpr size_t ENDPOINT_ALLOC_RETRIES = 2; static int dummy_fd = -1;