From 071db25f6694e0e8f4a88224bbbcba60db9ff68d Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Wed, 18 Nov 2020 13:34:31 +0100 Subject: [PATCH] Bluetooth: Controller: Adds missing ull_disable in ll_sync_terminate A call to `ull_disable` was missing in the function. Signed-off-by: Emil Gydesen --- subsys/bluetooth/controller/ll_sw/ull_sync.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subsys/bluetooth/controller/ll_sw/ull_sync.c b/subsys/bluetooth/controller/ll_sw/ull_sync.c index 7135c902d79..1e894bf9ca8 100644 --- a/subsys/bluetooth/controller/ll_sw/ull_sync.c +++ b/subsys/bluetooth/controller/ll_sw/ull_sync.c @@ -259,6 +259,9 @@ uint8_t ll_sync_terminate(uint16_t handle) return BT_HCI_ERR_CMD_DISALLOWED; } + ret = ull_disable(&sync->lll); + LL_ASSERT(!ret); + mark = ull_disable_unmark(sync); LL_ASSERT(mark == sync);