diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig index 7200784deba..39cdcf08004 100644 --- a/drivers/bluetooth/Kconfig +++ b/drivers/bluetooth/Kconfig @@ -10,7 +10,9 @@ # Bluetooth options # -if BT +# Controller support is an HCI driver in itself, so these HCI driver +# options are only applicable if controller support hasn't been enabled. +if BT && ! BT_CONTROLLER menu "Bluetooth Drivers" @@ -31,4 +33,4 @@ config BT_NRF51_PM endmenu -endif # BT +endif # BT && ! BT_CONTROLLER diff --git a/drivers/bluetooth/hci/Kconfig b/drivers/bluetooth/hci/Kconfig index 480c9b45575..bc9c5e944dd 100644 --- a/drivers/bluetooth/hci/Kconfig +++ b/drivers/bluetooth/hci/Kconfig @@ -8,10 +8,6 @@ comment "Bluetooth HCI Driver Options" -# Controller support is an HCI driver in itself, so these HCI driver -# options are only applicable if controller support hasn't been enabled. -if !BT_CONTROLLER - config BT_UART bool @@ -56,8 +52,6 @@ config BT_NO_DRIVER endchoice -endif # !BT_CONTROLLER - if !HAS_DTS config BT_UART_ON_DEV_NAME string "Device Name of UART Device for Bluetooth"