Bluetooth: controller: llcp: Fix terminate timer
Add the missing terminate timer for the ACL Termination procedure. Signed-off-by: Thomas Ebert Hansen <thoh@oticon.com>
This commit is contained in:
parent
2a2856e88e
commit
5d80dbd388
6 changed files with 46 additions and 8 deletions
|
@ -1592,8 +1592,10 @@ void ull_conn_done(struct node_rx_event_done *done)
|
|||
}
|
||||
}
|
||||
#else /* CONFIG_BT_LL_SW_LLCP_LEGACY */
|
||||
if (-ETIMEDOUT == ull_cp_prt_elapse(conn, elapsed_event)) {
|
||||
conn_cleanup(conn, BT_HCI_ERR_LL_RESP_TIMEOUT);
|
||||
uint8_t error_code;
|
||||
|
||||
if (-ETIMEDOUT == ull_cp_prt_elapse(conn, elapsed_event, &error_code)) {
|
||||
conn_cleanup(conn, error_code);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue