Bluetooth: controller: Do not skip one-shot tickers with slot

In preparation towards mesh advertise implementation, avoid
one-shot tickers with slots, that have been scheduled to
expire, from being removed by a forced start or update
operation on another ticker.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2017-06-24 21:57:25 +02:00 committed by Carles Cufi
commit 95d55a2bfc

View file

@ -789,6 +789,7 @@ static inline u32_t ticker_job_insert(struct ticker_instance *instance,
ticker_collide = &node[id_collide];
if (ticker_collide->ticks_periodic &&
ticker_collide->ticks_periodic &&
ticker_collide->force < ticker->force) {
/* dequeue and get the reminder of ticks
* to expire.