From 23474dc73723fdca4ba4c2f6f4e7ceaddf0d7bbc Mon Sep 17 00:00:00 2001 From: xiewenxiang Date: Tue, 31 Mar 2020 16:45:57 +0800 Subject: [PATCH] component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.3) --- components/bt/bluedroid/stack/gatt/gatt_sr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/bt/bluedroid/stack/gatt/gatt_sr.c b/components/bt/bluedroid/stack/gatt/gatt_sr.c index 870934c4e..215c95e77 100644 --- a/components/bt/bluedroid/stack/gatt/gatt_sr.c +++ b/components/bt/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); } }