Skip to content

Commit

Permalink
Bluetooth: Controller: Fix uninitialized is_aborted in conn done event
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
cvinayak authored and github-actions[bot] committed Jan 21, 2025
1 parent 7d2ac02 commit f60cb10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit f60cb10

Please sign in to comment.