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:
parent
90f0a1d6af
commit
071db25f66
1 changed files with 3 additions and 0 deletions
|
@ -259,6 +259,9 @@ uint8_t ll_sync_terminate(uint16_t handle)
|
||||||
return BT_HCI_ERR_CMD_DISALLOWED;
|
return BT_HCI_ERR_CMD_DISALLOWED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ret = ull_disable(&sync->lll);
|
||||||
|
LL_ASSERT(!ret);
|
||||||
|
|
||||||
mark = ull_disable_unmark(sync);
|
mark = ull_disable_unmark(sync);
|
||||||
LL_ASSERT(mark == sync);
|
LL_ASSERT(mark == sync);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue