From 032be935c01b5c1242dad46fcbb9d67fb0fdeaae Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sat, 19 Mar 2016 08:52:56 +0200 Subject: [PATCH] Bluetooth: Kconfig: Add missing BLUETOOTH_STACK_HCI dependencies These options shouldn't show up unless the HCI stack has been selected. Change-Id: I0f07c56f899ec833bec64ff062e1456341845027 Signed-off-by: Johan Hedberg --- net/bluetooth/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig index ae9c43c9d29..631655a1a49 100644 --- a/net/bluetooth/Kconfig +++ b/net/bluetooth/Kconfig @@ -263,6 +263,7 @@ config BLUETOOTH_DEBUG_COLOR config BLUETOOTH_DEBUG_HCI_CORE bool "Bluetooth HCI core debug" + depends on BLUETOOTH_STACK_HCI default n help This option enables debug support for Bluetooth HCI @@ -278,6 +279,7 @@ config BLUETOOTH_DEBUG_CONN config BLUETOOTH_DEBUG_KEYS bool "Bluetooth security keys debug" + depends on BLUETOOTH_STACK_HCI depends on BLUETOOTH_SMP default n help @@ -294,6 +296,7 @@ config BLUETOOTH_DEBUG_L2CAP config BLUETOOTH_DEBUG_SMP bool "Bluetooth Security Manager Protocol (SMP) debug" + depends on BLUETOOTH_STACK_HCI depends on BLUETOOTH_SMP default n help @@ -329,6 +332,7 @@ endif # BLUETOOTH_DEBUG config BLUETOOTH_BREDR bool "Bluetooth BR/EDR support [EXPERIMENTAL]" default n + depends on BLUETOOTH_STACK_HCI select BLUETOOTH_CONN help This option enables Bluetooth BR/EDR support"