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 <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2016-11-14 18:33:27 +01:00 committed by Johan Hedberg
commit 243668dbc4

View file

@ -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"