fix spp acceptor deadlock

Closes: https://github.com/espressif/esp-idf/issues/6948
This commit is contained in:
xiongweichao
2021-06-10 16:24:30 +08:00
parent bdb01b8285
commit 96aff16dd3
3 changed files with 3 additions and 59 deletions

View File

@@ -381,7 +381,6 @@ typedef struct t_l2c_linkcb {
BOOLEAN is_aux; /* This variable used for BLE 5.0 or higher version when do auxiliary connection */
TIMER_LIST_ENT timer_entry; /* Timer list entry for timeout evt */
UINT16 handle; /* The handle used with LM */
UINT16 completed_packets; /* The number of conpleted packets */
tL2C_CCB_Q ccb_queue; /* Queue of CCBs on this LCB */
@@ -677,10 +676,6 @@ extern void l2cu_send_peer_ble_credit_based_disconn_req(tL2C_CCB *p_ccb);
#endif
#if (C2H_FLOW_CONTROL_INCLUDED == TRUE)
extern UINT8 l2cu_find_completed_packets(UINT16 *handles, UINT16 *num_packets);
#endif ///C2H_FLOW_CONTROL_INCLUDED == TRUE
extern BOOLEAN l2cu_initialize_fixed_ccb (tL2C_LCB *p_lcb, UINT16 fixed_cid, tL2CAP_FCR_OPTS *p_fcr);
extern void l2cu_no_dynamic_ccbs (tL2C_LCB *p_lcb);
extern void l2cu_process_fixed_chnl_resp (tL2C_LCB *p_lcb);