Explorar el Código

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

xiewenxiang hace 5 años
padre
commit
23474dc737
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 {
     } else {
         attp_send_sr_msg(p_tcb, p_msg);
         attp_send_sr_msg(p_tcb, p_msg);
+        gatt_dequeue_sr_cmd(p_tcb);
     }
     }
 
 
 }
 }