From 243668dbc485c7bd5a4dbb44dd79bd61ac0b4736 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 14 Nov 2016 18:33:27 +0100 Subject: [PATCH] Bluetooth: Kconfig: Fix BR/EDR dependencies BR/EDR code should have minimal impact on LE code so to keep it simple just require peripheral and central to be enabled when selecting BR/EDR support. Fix following Kconfig warning: warning: (NETWORKING_WITH_BT && BLUETOOTH_BREDR) selects BLUETOOTH_L2CAP_DYNAMIC_CHANNEL which has unmet direct dependencies (BLUETOOTH && BLUETOOTH_HCI && BLUETOOTH_HCI_HOST && BLUETOOTH_CONN && BLUETOOTH_SMP) Change-Id: I7f7cb8794def0df6daaa4abfe4596df460f1a2b2 Signed-off-by: Szymon Janc --- subsys/bluetooth/host/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subsys/bluetooth/host/Kconfig b/subsys/bluetooth/host/Kconfig index 50cdcb8137c..1e764f80044 100644 --- a/subsys/bluetooth/host/Kconfig +++ b/subsys/bluetooth/host/Kconfig @@ -427,7 +427,9 @@ endif # BLUETOOTH_DEBUG config BLUETOOTH_BREDR bool "Bluetooth BR/EDR support [EXPERIMENTAL]" depends on BLUETOOTH_HCI_HOST - select BLUETOOTH_CONN + select BLUETOOTH_PERIPHERAL + select BLUETOOTH_CENTRAL + select BLUETOOTH_SMP select BLUETOOTH_L2CAP_DYNAMIC_CHANNEL help This option enables Bluetooth BR/EDR support"