From f60cb101c74ffbf61dea658e9f883d83b2802d43 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Sat, 18 Jan 2025 08:06:40 +0100 Subject: [PATCH] Bluetooth: Controller: Fix uninitialized is_aborted in conn done event Fix uninitialized is_aborted in connection done event. Relates to commit cadef5a64fa5 ("Bluetooth: Controller: Introduce BT_CTLR_PERIPHERAL_RESERVE_MAX"). Signed-off-by: Vinayak Kariappa Chettimada (cherry picked from commit f3e398d64c451ea2b5b4fa4041655387b78caf5f) --- subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c b/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c index 4f61cba9665b..922799642db8 100644 --- a/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c +++ b/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c @@ -263,6 +263,8 @@ void lll_conn_abort_cb(struct lll_prepare_param *prepare_param, void *param) e->type = EVENT_DONE_EXTRA_TYPE_CONN; e->trx_cnt = 0U; e->crc_valid = 0U; + e->is_aborted = 1U; + #if defined(CONFIG_BT_CTLR_LE_ENC) e->mic_state = LLL_CONN_MIC_NONE; #endif /* CONFIG_BT_CTLR_LE_ENC */