Просмотр исходного кода

component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.3)

xiewenxiang 5 лет назад
Родитель
Сommit
23474dc737
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      components/bt/bluedroid/stack/gatt/gatt_sr.c

+ 1 - 0
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);
     }
 
 }