commit | 393e5258f66a3d066c240453dcc8592e2b15223c | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Aug 23 00:12:52 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Aug 23 00:12:52 2016 +0000 |
tree | 227d092946cee82882b9e836eb52d8144f31a7d0 | |
parent | 0b4fcb75d457f75acb0f0452eda059e35c93241e [diff] | |
parent | c8cb38803af20e922419760663ed1627e865fad2 [diff] |
Merge "adb: increase the authentication throttling limit."
diff --git a/adb/adb.cpp b/adb/adb.cpp index 45d26f8..be390d9 100644 --- a/adb/adb.cpp +++ b/adb/adb.cpp
@@ -360,7 +360,7 @@ adb_auth_verified(t); t->failed_auth_attempts = 0; } else { - if (t->failed_auth_attempts++ > 10) adb_sleep_ms(1000); + if (t->failed_auth_attempts++ > 256) adb_sleep_ms(1000); send_auth_request(t); } } else if (p->msg.arg0 == ADB_AUTH_RSAPUBLICKEY) {