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 <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2020-11-18 13:34:31 +01:00 committed by Carles Cufí
commit 071db25f66

View file

@ -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);