From dc55e08ce6e9846066664937f0e706e1ca9367ac Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Mon, 4 May 2020 18:20:22 +0530 Subject: [PATCH] Bluetooth: controller: split: Fix crash due to incorrect no. of tickers Fix segmentation fault detected by BabbleSim test due to incorrect number of tickers being allocated. Signed-off-by: Vinayak Kariappa Chettimada --- subsys/bluetooth/controller/ll_sw/lll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/controller/ll_sw/lll.h b/subsys/bluetooth/controller/ll_sw/lll.h index 6d36ac00ddc..d17710c8ec8 100644 --- a/subsys/bluetooth/controller/ll_sw/lll.h +++ b/subsys/bluetooth/controller/ll_sw/lll.h @@ -67,7 +67,7 @@ enum { TICKER_ID_SCAN_LAST = ((TICKER_ID_SCAN_BASE) + (BT_CTLR_SCAN_SET) - 1), #if defined(CONFIG_BT_CTLR_ADV_EXT) TICKER_ID_SCAN_AUX_BASE, - TICKER_ID_SCAN_AUX_LAST = ((TICKER_ID_SCAN_BASE) + + TICKER_ID_SCAN_AUX_LAST = ((TICKER_ID_SCAN_AUX_BASE) + (CONFIG_BT_CTLR_SCAN_AUX_SET) - 1), #endif /* CONFIG_BT_CTLR_ADV_EXT */ #endif /* CONFIG_BT_OBSERVER */