Bluetooth: controller: Fix Kconfig conditional optionals

Fix Kconfig conditional include of Minimum Channels Used
and Channel Selection Algorithm #2.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2019-10-01 16:10:05 +05:30 committed by Alberto Escolar
commit b71eb71de7

View file

@ -324,15 +324,6 @@ config BT_CTLR_PHY
select BT_CTLR_EXT_REJ_IND
default y if SOC_COMPATIBLE_NRF52X || BT_CTLR_PHY_2M_NRF
endif # BT_CONN
config BT_CTLR_CHAN_SEL_2
bool "Channel Selection Algorithm #2"
default y
help
Enable support for Bluetooth 5.0 LE Channel Selection Algorithm #2 in
the Controller.
config BT_CTLR_MIN_USED_CHAN
bool "Minimum Number of Used Channels"
default y
@ -340,6 +331,16 @@ config BT_CTLR_MIN_USED_CHAN
Enable support for Bluetooth 5.0 Minimum Number of Used Channels
Procedure in the Controller.
endif # BT_CONN
config BT_CTLR_CHAN_SEL_2
bool "Channel Selection Algorithm #2"
depends on BT_CONN || BT_CTLR_ADV_EXT
default y
help
Enable support for Bluetooth 5.0 LE Channel Selection Algorithm #2 in
the Controller.
config BT_CTLR_ADV_EXT
bool "LE Advertising Extensions"
select BT_CTLR_SCAN_REQ_NOTIFY