Merge "fix for adbd pinning CPU" into lmp-dev
This commit is contained in:
commit
c75dac394e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue