Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8363f1b6 authored by Srinu Jella's avatar Srinu Jella Committed by android-build-merger
Browse files

Added fd for monitoring when the channel is not congested

am: a542ccc7

* commit 'a542ccc7':
  Added fd for monitoring when the channel is not congested
parents b7d0db37 a542ccc7
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -787,9 +787,12 @@ static void btu_exec_tap_fd_read(void *p_param) {
        if (poll(&ufd, 1, 0) <= 0 || IS_EXCEPTION(ufd.revents))
            break;
    }
    //add fd back to monitor thread

    if (btpan_cb.flow) {
        //add fd back to monitor thread when the flow is on
        btsock_thread_add_fd(pan_pth, fd, 0, SOCK_THREAD_FD_RD, 0);
    }
}

static void btif_pan_close_all_conns() {
    if (!stack_initialized)