From b33ccbf275743bd7eb46cdba67f3f179758cd42d Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Tue, 19 Nov 2019 15:09:29 +0530 Subject: [PATCH] Bluetooth: controller: split: Fix directed adv event interval Fix the directed advertising event interval calculation. When CONFIG_BT_CTLR_LOW_LAT is used then prepare duration has to be included in the event slot reservation. Signed-off-by: Vinayak Kariappa Chettimada --- subsys/bluetooth/controller/ll_sw/ull_adv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/controller/ll_sw/ull_adv.c b/subsys/bluetooth/controller/ll_sw/ull_adv.c index 214ef463ad6..939d6978140 100644 --- a/subsys/bluetooth/controller/ll_sw/ull_adv.c +++ b/subsys/bluetooth/controller/ll_sw/ull_adv.c @@ -823,7 +823,7 @@ u8_t ll_adv_enable(u8_t enable) TICKER_USER_ID_THREAD, (TICKER_ID_ADV_BASE + handle), ticks_anchor, 0, - adv->evt.ticks_slot, + (adv->evt.ticks_slot + ticks_slot_overhead), TICKER_NULL_REMAINDER, TICKER_NULL_LAZY, (adv->evt.ticks_slot + ticks_slot_overhead), ticker_cb, adv,