OSDN Git Service

DO NOT MERGE BNEP: Fix build breakage by using osi_free instead of GKI_freebuf
authorJack He <siyuanh@google.com>
Tue, 5 Jun 2018 00:40:42 +0000 (17:40 -0700)
committerJack He <siyuanh@google.com>
Tue, 5 Jun 2018 00:48:21 +0000 (17:48 -0700)
Bug: 79164722
Bug: 78286118
Test: make
Change-Id: I04fc994d9bca80aa4711118d3c5be02f2b809a48

stack/bnep/bnep_main.c

index 6127cfe..39a5a5f 100644 (file)
@@ -486,7 +486,7 @@ static void bnep_data_ind (UINT16 l2cap_cid, BT_HDR *p_buf)
     if (rem_len == 0)
     {
         android_errorWriteLog(0x534e4554, "78286118");
-        GKI_freebuf(p_buf);
+        osi_free(p_buf);
         return;
     }