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

Commit d22bdc44 authored by Zhihai Xu's avatar Zhihai Xu Committed by Android (Google) Code Review
Browse files

Merge "Fixed wrong operator in uipc.c that cause always true check"

parents 731c3b4d 7bef58c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -429,7 +429,7 @@ static void uipc_flush_ch_locked(tUIPC_CH_ID ch_id)
        ret = poll(&pfd, 1, 1);
        BTIF_TRACE_EVENT3("uipc_flush_ch_locked polling : fd %d, rxev %x, ret %d", pfd.fd, pfd.revents, ret);

        if (pfd.revents | (POLLERR|POLLHUP))
        if (pfd.revents & (POLLERR|POLLHUP))
            return;

        if (ret <= 0)