Skip to content
Commit fed55611 authored by Evgenii Kosenko's avatar Evgenii Kosenko Committed by Benjamin Cabé
Browse files

bluetooth: tester: btp: refactors OOB legacy selection



Takes in use IS_ENABLED as preferred way of guarding Kconfig option for
forcing OOB legacy, CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY. It enables
compiling guarded code get warning/errors and not link it if not used. If
def macro is left in btp_handler structure to reduce code size when the
config is not present.

Signed-off-by: default avatarEvgenii Kosenko <Evgenii.Kosenko@silabs.com>
parent de91ecdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment