Merge branch 'bugfix/exl200_reset_and_adv_v4.1' into 'release/v4.1'

Bugfix/exl200 reset and adv v4.1

See merge request espressif/esp-idf!11672
This commit is contained in:
Jiang Jiang Jian 2020-12-18 21:59:32 +08:00
commit 286f8c76b6
2 changed files with 3 additions and 4 deletions

@ -1 +1 @@
Subproject commit 6bc8cb91ac66473a0cd43a92b19af09f7abb35a1
Subproject commit 73fa0bcb5132f4ea3eebde88f0599920664a8257

View File

@ -3493,13 +3493,12 @@ BT_HDR *l2cu_get_next_buffer_to_send (tL2C_LCB *p_lcb)
L2CAP_TRACE_ERROR("l2cu_get_buffer_to_send: No data to be sent");
return (NULL);
}
l2cu_check_channel_congestion (p_ccb);
l2cu_set_acl_hci_header (p_buf, p_ccb);
/* send tx complete */
if (l2cb.fixed_reg[xx].pL2CA_FixedTxComplete_Cb) {
(*l2cb.fixed_reg[xx].pL2CA_FixedTxComplete_Cb)(p_ccb->local_cid, 1);
}
l2cu_check_channel_congestion (p_ccb);
l2cu_set_acl_hci_header (p_buf, p_ccb);
return (p_buf);
}
}