Skip to content
Commit 1200fd93 authored by Andries Kruithof's avatar Andries Kruithof Committed by Carles Cufí
Browse files

Bluetooth: host: fix conditional compile for broadcaster role



The call to bt_adv_reset_adv_pool is only required in the
broadcaster role, and not in the observer role, regardless
of the setting of CONFIG_BT_EXT_ADV
As the code was this call was also made for the observer.

Note: handling of the setting of CONFIG_BT_EXT_ADV
is already handled in the bt_adv_reset_adv_pool function

Signed-off-by: default avatarAndries Kruithof <andries.kruithof@nordicsemi.no>
parent 5f5f7948
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment