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

Commit de496af3 authored by Simon Wilson's avatar Simon Wilson Committed by Android Git Automerger
Browse files

am 95eda966: Revert "anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer"

* commit '95eda966':
  Revert "anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer"
parents 80e8301c 95eda966
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 ++