mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'cherry-pick-55b3ea9c' into 'release/v2.1'
Merge branch 'bugfix/btdm_cherry-pick_ble_smp_bonding_issues' into 'master' See merge request !949
This commit is contained in:
@ -2635,7 +2635,16 @@ void l2cu_no_dynamic_ccbs (tL2C_LCB *p_lcb)
|
|||||||
/* probably no buffer to send disconnect */
|
/* probably no buffer to send disconnect */
|
||||||
timeout = BT_1SEC_TIMEOUT;
|
timeout = BT_1SEC_TIMEOUT;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if (btsnd_hcic_disconnect (p_lcb->handle, HCI_ERR_PEER_USER)) {
|
||||||
|
l2cu_process_fixed_disc_cback(p_lcb);
|
||||||
|
p_lcb->link_state = LST_DISCONNECTING;
|
||||||
|
timeout = L2CAP_LINK_DISCONNECT_TOUT;
|
||||||
|
} else {
|
||||||
|
timeout = BT_1SEC_TIMEOUT;
|
||||||
|
}
|
||||||
#endif ///SMP_INCLUDED == TRUE
|
#endif ///SMP_INCLUDED == TRUE
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (timeout != 0xFFFF) {
|
if (timeout != 0xFFFF) {
|
||||||
|
Reference in New Issue
Block a user