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

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

am 4feaba99: gki_buffer: add missing mutex unlock

* commit '4feaba99':
  gki_buffer: add missing mutex unlock
parents 7754203d 4feaba99
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -411,7 +411,10 @@ void *GKI_getbuf (UINT16 size)
// btla-specific ++
        #ifdef GKI_USE_DEFERED_ALLOC_BUF_POOLS
            if(Q->p_first == 0 && gki_alloc_free_queue(i) != TRUE)
            {
                GKI_enable();
                return NULL;
            }
        #endif
// btla-specific --
            p_hdr = Q->p_first;
@@ -478,7 +481,10 @@ void *GKI_getpoolbuf (UINT8 pool_id)
// btla-specific ++
#ifdef GKI_USE_DEFERED_ALLOC_BUF_POOLS
        if(Q->p_first == 0 && gki_alloc_free_queue(pool_id) != TRUE)
        {
            GKI_enable();
            return NULL;
        }
#endif
// btla-specific --
        p_hdr = Q->p_first;