Bluetooth: HCI: Fix allow Zephyr VS HCI commands in host-only build

Fix unable to select the Zephyr Vendor-Specific HCI commands support in
host-only build. Set VS HCI support as default on if it is known that
the controller supports it. Otherwise set it to off, this means that
VS HCI support will be default off in host-only builds.

Fixes: #21996

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2020-01-17 10:11:35 +01:00 committed by Johan Hedberg
commit 8b98231e4f

View file

@ -12,8 +12,8 @@ config BT_HAS_HCI_VS
config BT_HCI_VS config BT_HCI_VS
bool "Zephyr HCI Vendor-Specific Commands" bool "Zephyr HCI Vendor-Specific Commands"
depends on BT_HAS_HCI_VS depends on BT_HAS_HCI_VS || !BT_CTLR
default y default y if BT_HAS_HCI_VS
help help
Enable support for the Zephyr HCI Vendor-Specific Commands in the Enable support for the Zephyr HCI Vendor-Specific Commands in the
Host and/or Controller. This enables Set Version Information, Host and/or Controller. This enables Set Version Information,