Bluetooth: Correctly select RPA and TINYCRYPT options

Enforce the logical dependency between SMP, RPA generation and privacy
in the Kconfig files for the Bluetooth subsysem.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2017-06-16 12:59:22 +02:00 committed by Johan Hedberg
commit 1506b24fb8
2 changed files with 3 additions and 1 deletions

View file

@ -11,6 +11,8 @@ if BLUETOOTH_HCI
config BLUETOOTH_RPA config BLUETOOTH_RPA
# Virtual/hidden option # Virtual/hidden option
bool bool
select TINYCRYPT
select TINYCRYPT_AES
default n default n
config BLUETOOTH_DEBUG config BLUETOOTH_DEBUG

View file

@ -189,7 +189,6 @@ config BLUETOOTH_ATT_TX_MAX
config BLUETOOTH_SMP config BLUETOOTH_SMP
bool "Security Manager Protocol support" bool "Security Manager Protocol support"
select BLUETOOTH_RPA
select TINYCRYPT select TINYCRYPT
select TINYCRYPT_AES select TINYCRYPT_AES
select TINYCRYPT_AES_CMAC select TINYCRYPT_AES_CMAC
@ -200,6 +199,7 @@ config BLUETOOTH_SMP
if BLUETOOTH_SMP if BLUETOOTH_SMP
config BLUETOOTH_PRIVACY config BLUETOOTH_PRIVACY
bool "Privacy Feature" bool "Privacy Feature"
select BLUETOOTH_RPA
help help
Enable local Privacy Feature support. This makes it possible Enable local Privacy Feature support. This makes it possible
to use Resolvable Private Addresses (RPAs). to use Resolvable Private Addresses (RPAs).