diff options
author | Vince Harron <vharron@google.com> | 2014-09-30 03:01:06 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-30 03:01:07 +0000 |
commit | c75dac394e3fcd9760841a820d8a0c93dd0c276e (patch) | |
tree | 17acc570c5860b3870c31e148b56e2c6a9091a15 | |
parent | 7391575afdd6c27bf444dcde7a140f1b17629b8c (diff) | |
parent | af436b1e10bed3b89880b3bd4f3031ea14057def (diff) | |
download | core-c75dac394e3fcd9760841a820d8a0c93dd0c276e.tar.gz |
Merge "fix for adbd pinning CPU" into lmp-dev
-rw-r--r-- | adb/adb_auth_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/adb_auth_client.c b/adb/adb_auth_client.c index 8409c6339..55e9dcad1 100644 --- a/adb/adb_auth_client.c +++ b/adb/adb_auth_client.c @@ -175,7 +175,7 @@ static void adb_auth_event(int fd, unsigned events, void *data) if (events & FDE_READ) { ret = unix_read(fd, response, sizeof(response)); - if (ret < 0) { + if (ret <= 0) { D("Framework disconnect\n"); if (usb_transport) fdevent_remove(&usb_transport->auth_fde); |