Skip to content

Commit b6d32b9

Browse files
Tronilkartben
authored andcommitted
Bluetooth: Controller: Fix missing initialization of expire_info_id
The scanner doesn't use the expire_info_id feature, so it needs to be set to TICKER_NULL Signed-off-by: Troels Nilsson <[email protected]>
1 parent a3d259e commit b6d32b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

subsys/bluetooth/controller/ll_sw/ull_scan.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,9 @@ uint8_t ull_scan_enable(struct ll_scan_set *scan)
610610
ret_cb = TICKER_STATUS_BUSY;
611611

612612
#if defined(CONFIG_BT_TICKER_EXT)
613+
#if defined(CONFIG_BT_TICKER_EXT_EXPIRE_INFO)
614+
ll_scan_ticker_ext[handle].expire_info_id = TICKER_NULL;
615+
#endif /* CONFIG_BT_TICKER_EXT_EXPIRE_INFO */
613616
ret = ticker_start_ext(
614617
#else
615618
ret = ticker_start(

0 commit comments

Comments
 (0)