From 8b671fd79cc26aa03a49a720f41a901278592c04 Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Sun, 10 Jan 2021 19:27:40 +0800 Subject: [PATCH] wireless/bluetooth: remove the host dependency Change-Id: I2f7073731fdf920ea69d79462275468f83f2cc4c Signed-off-by: chao.an --- drivers/wireless/Kconfig | 1 - include/nuttx/wireless/bluetooth/bt_hci.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/wireless/Kconfig b/drivers/wireless/Kconfig index f1a82f98b9c..af25e0ccca3 100644 --- a/drivers/wireless/Kconfig +++ b/drivers/wireless/Kconfig @@ -86,7 +86,6 @@ source drivers/wireless/ieee80211/Kconfig menuconfig DRIVERS_BLUETOOTH bool "Bluetooth Device Support" default n - depends on WIRELESS_BLUETOOTH ---help--- Select to enable building of Bluetooth device drivers. diff --git a/include/nuttx/wireless/bluetooth/bt_hci.h b/include/nuttx/wireless/bluetooth/bt_hci.h index f4e67f6d196..5584baa041b 100644 --- a/include/nuttx/wireless/bluetooth/bt_hci.h +++ b/include/nuttx/wireless/bluetooth/bt_hci.h @@ -51,7 +51,7 @@ #include -#ifdef CONFIG_WIRELESS_BLUETOOTH +#if defined(CONFIG_WIRELESS_BLUETOOTH) || defined(CONFIG_DRIVERS_BLUETOOTH) /**************************************************************************** * Pre-processor Definitions