Bluetooth: Controller: llcp: Missing llcp ctx release when disconnect
If there were local LLCP pending and connection lost happened there were no release of allocated control procedure context. It caused to exhaustion of available procedures. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
3d9784a79e
commit
bbf19b24be
1 changed files with 1 additions and 0 deletions
|
@ -2303,6 +2303,7 @@ static void conn_cleanup_finalize(struct ll_conn *conn)
|
|||
}
|
||||
#else /* CONFIG_BT_LL_SW_LLCP_LEGACY */
|
||||
ARG_UNUSED(rx);
|
||||
ull_cp_state_set(conn, ULL_CP_DISCONNECTED);
|
||||
#endif /* CONFIG_BT_LL_SW_LLCP_LEGACY */
|
||||
|
||||
/* flush demux-ed Tx buffer still in ULL context */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue