Merge "fix for adbd pinning CPU" into lmp-dev

This commit is contained in:
Vince Harron 2014-09-30 03:01:06 +00:00 committed by Android (Google) Code Review
commit c75dac394e

View file

@ -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);