Merge branch 'bugfix/btdm_fix_multi-con_pair_failed' into 'master'

fix multi-connection pair failed

Closes BT-1490

See merge request espressif/esp-idf!12877
pull/6828/head
Jiang Jiang Jian 2021-03-26 04:18:56 +00:00
commit 6c070f49a8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1833,7 +1833,7 @@ UINT16 L2CA_SendFixedChnlData (UINT16 fixed_cid, BD_ADDR rem_bda, BT_HDR *p_buf)
}
// If already congested, do not accept any more packets
if (p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->cong_sent) {
if (p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->cong_sent && fixed_cid != L2CAP_SMP_CID) {
L2CAP_TRACE_DEBUG ("L2CAP - CID: 0x%04x cannot send, already congested\
xmit_hold_q.count: %u buff_quota: %u", fixed_cid,
fixed_queue_length(p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->xmit_hold_q),