mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
component/bt: Fixed the watchdog timeout of btu task during multi-connection
This commit is contained in:
parent
8acffd2931
commit
e963390324
@ -1104,10 +1104,10 @@ void l2c_link_check_send_pkts (tL2C_LCB *p_lcb, tL2C_CCB *p_ccb, BT_HDR *p_buf)
|
||||
#if (BLE_INCLUDED == TRUE)
|
||||
while ( ((l2cb.controller_xmit_window != 0 && (p_lcb->transport == BT_TRANSPORT_BR_EDR)) ||
|
||||
(l2cb.controller_le_xmit_window != 0 && (p_lcb->transport == BT_TRANSPORT_LE)))
|
||||
&& (p_lcb->sent_not_acked <= p_lcb->link_xmit_quota))
|
||||
&& (p_lcb->sent_not_acked < p_lcb->link_xmit_quota))
|
||||
#else
|
||||
while ( (l2cb.controller_xmit_window != 0)
|
||||
&& (p_lcb->sent_not_acked <= p_lcb->link_xmit_quota))
|
||||
&& (p_lcb->sent_not_acked < p_lcb->link_xmit_quota))
|
||||
#endif
|
||||
{
|
||||
if (list_is_empty(p_lcb->link_xmit_data_q)) {
|
||||
@ -1126,7 +1126,7 @@ void l2c_link_check_send_pkts (tL2C_LCB *p_lcb, tL2C_CCB *p_ccb, BT_HDR *p_buf)
|
||||
#if (BLE_INCLUDED == TRUE)
|
||||
while ( ((l2cb.controller_xmit_window != 0 && (p_lcb->transport == BT_TRANSPORT_BR_EDR)) ||
|
||||
(l2cb.controller_le_xmit_window != 0 && (p_lcb->transport == BT_TRANSPORT_LE)))
|
||||
&& (p_lcb->sent_not_acked <= p_lcb->link_xmit_quota))
|
||||
&& (p_lcb->sent_not_acked < p_lcb->link_xmit_quota))
|
||||
#else
|
||||
while ((l2cb.controller_xmit_window != 0) && (p_lcb->sent_not_acked < p_lcb->link_xmit_quota))
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user