Skip to content
Commit 2125a649 authored by Piotr Pryga's avatar Piotr Pryga Committed by Carles Cufí
Browse files

Bluetooth: Host: add missing de-init of periodic sync pool



While execution of bt_disable there is missing de-initialization
of per_adv_sync_pool. If there was a sync in progress, (flags set
to BT_PER_ADV_SYNC_SYNCING) before bt_disable, then when the stack
is re-enabled by bt_enable new sync create fails.

The commit fixes the issue by new function that clears flags for
all per_adv_sync_pool entries. The function is executed by bt_disable.

Signed-off-by: default avatarPiotr Pryga <piotr.pryga@nordicsemi.no>
parent 8be0999d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment