am c75dac39: Merge "fix for adbd pinning CPU" into lmp-dev
* commit 'c75dac394e3fcd9760841a820d8a0c93dd0c276e': fix for adbd pinning CPU
This commit is contained in:
commit
0edbf89e68
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