From 79590d2e21045c75a4aa27bb2f0c24e9d845a53c Mon Sep 17 00:00:00 2001 From: xiewenxiang Date: Mon, 30 Mar 2020 11:47:10 +0800 Subject: [PATCH] component/bt: fix don't dequeue the command queue after process the read_by_type_req --- components/bt/host/bluedroid/stack/gatt/gatt_sr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/bt/host/bluedroid/stack/gatt/gatt_sr.c b/components/bt/host/bluedroid/stack/gatt/gatt_sr.c index 956eec71f..160785781 100644 --- a/components/bt/host/bluedroid/stack/gatt/gatt_sr.c +++ b/components/bt/host/bluedroid/stack/gatt/gatt_sr.c @@ -1087,6 +1087,7 @@ void gatts_process_read_by_type_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, } } else { attp_send_sr_msg(p_tcb, p_msg); + gatt_dequeue_sr_cmd(p_tcb); } }