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

Commit 95eda966 authored by Simon Wilson's avatar Simon Wilson
Browse files

Revert "anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer"

This reverts commit 608b7f7e.

This change looks like a likely candidate for the culprit behind
a wide range of BT issues we're seeing across many devices.
Reverting this in order to test.
parent ccebe7c2
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -402,11 +402,7 @@ void *GKI_getbuf (UINT16 size)
        if (((UINT16)1 << p_cb->pool_list[i]) & p_cb->pool_access_mask)
            continue;

        if ( size <= p_cb->freeq[p_cb->pool_list[i]].size )
        Q = &p_cb->freeq[p_cb->pool_list[i]];
        else
            continue;

        if(Q->cur_cnt < Q->total)
        {
// btla-specific ++