Răsfoiți Sursa

component/bt: fix don't dequeue the command queue after process the read_by_type_req

xiewenxiang 5 ani în urmă
părinte
comite
79590d2e21
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      components/bt/host/bluedroid/stack/gatt/gatt_sr.c

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