diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c3a92facd3..64625d4583 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1586,3 +1586,9 @@ IT_015_01: tags: - ESP32_IDF - SSC_T2_4 + +UT_001_41: + <<: *unit_test_template + tags: + - ESP32_IDF + - UT_T1_1 diff --git a/components/bt/bluedroid/stack/gatt/gatt_sr.c b/components/bt/bluedroid/stack/gatt/gatt_sr.c index 24df5a4eb3..f70b515df1 100644 --- a/components/bt/bluedroid/stack/gatt/gatt_sr.c +++ b/components/bt/bluedroid/stack/gatt/gatt_sr.c @@ -1088,6 +1088,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); } }