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

Commit 4feaba99 authored by Simon Wilson's avatar Simon Wilson
Browse files

gki_buffer: add missing mutex unlock

Bug: 18511282
Change-Id: Iea5248d5c9ba8690d0c2f462ec04784476309797
parent ff5b6303
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;