Skip to content

Commit 13e7d65

Browse files
cvinayakmmahadevan108
authored andcommitted
Bluetooth: Controller: Fix uninitialized is_aborted in conn done event
Fix uninitialized is_aborted in connection done event. Relates to commit cadef5a ("Bluetooth: Controller: Introduce BT_CTLR_PERIPHERAL_RESERVE_MAX"). Signed-off-by: Vinayak Kariappa Chettimada <[email protected]> (cherry picked from commit f3e398d)
1 parent 4a1ffd8 commit 13e7d65

File tree

1 file changed

+2
-0
lines changed
  • subsys/bluetooth/controller/ll_sw/nordic/lll

1 file changed

+2
-0
lines changed

subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ void lll_conn_abort_cb(struct lll_prepare_param *prepare_param, void *param)
263263
e->type = EVENT_DONE_EXTRA_TYPE_CONN;
264264
e->trx_cnt = 0U;
265265
e->crc_valid = 0U;
266+
e->is_aborted = 1U;
267+
266268
#if defined(CONFIG_BT_CTLR_LE_ENC)
267269
e->mic_state = LLL_CONN_MIC_NONE;
268270
#endif /* CONFIG_BT_CTLR_LE_ENC */

0 commit comments

Comments
 (0)