Bluetooth: Simplify configuration and fix warnings

Fixes the warnings:
...
net/bluetooth/Kconfig:48:warning: defaults for choice values not
supported
warning: (BLUETOOTH) selects BLUETOOTH_LE which has unmet direct
dependencies (BLUETOOTH && BLUETOOTH_STACK_HCI)
...

Change-Id: I039a9e0e90ce4cb1732c9c764e2db441ba59660a
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2016-08-10 16:51:20 +03:00 committed by Johan Hedberg
commit 709111b813

View file

@ -21,7 +21,6 @@ menuconfig BLUETOOTH
default n default n
select NANO_TIMEOUTS select NANO_TIMEOUTS
select NET_BUF select NET_BUF
select BLUETOOTH_LE if !BLUETOOTH_STACK_NBLE
help help
This option enables Bluetooth support. This option enables Bluetooth support.
@ -50,7 +49,7 @@ comment "HCI Stack Configurations"
config BLUETOOTH_LE config BLUETOOTH_LE
bool "Bluetooth Low Energy (LE) support" bool "Bluetooth Low Energy (LE) support"
default n default y
select TINYCRYPT select TINYCRYPT
select TINYCRYPT_AES if BLUETOOTH_SMP select TINYCRYPT_AES if BLUETOOTH_SMP
select TINYCRYPT_AES_CMAC if BLUETOOTH_SMP select TINYCRYPT_AES_CMAC if BLUETOOTH_SMP