From 8888681aa8c871edb7b8105cebd1fa0da97d4911 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Sun, 22 May 2022 06:52:10 +0530 Subject: [PATCH] Bluetooth: Remove deprecated BT_WHITELIST KConfig option Remove the deprecated BT_WHITELIST Kconfig option. Also, remove a mention of the deleted bt_conn_create_auto_le API. Signed-off-by: Vinayak Kariappa Chettimada --- subsys/bluetooth/host/CMakeLists.txt | 5 ----- subsys/bluetooth/host/Kconfig | 7 ------- 2 files changed, 12 deletions(-) diff --git a/subsys/bluetooth/host/CMakeLists.txt b/subsys/bluetooth/host/CMakeLists.txt index e64f5c94b0d..711bb8a74a1 100644 --- a/subsys/bluetooth/host/CMakeLists.txt +++ b/subsys/bluetooth/host/CMakeLists.txt @@ -87,11 +87,6 @@ if(CONFIG_BT_HCI_HOST) endif() endif() -if(CONFIG_BT_WHITELIST) - message(WARNING "CONFIG_BT_WHITELIST is deprecated. - Please use CONFIG_BT_FILTER_ACCEPT_LIST instead." - ) -endif() if(CONFIG_BT_DEBUG_SMP OR CONFIG_BT_DEBUG_KEYS OR CONFIG_BT_LOG_SNIFFER_INFO) message(WARNING "One of these options are enabled: CONFIG_BT_DEBUG_SMP CONFIG_BT_DEBUG_KEYS CONFIG_BT_LOG_SNIFFER_INFO. diff --git a/subsys/bluetooth/host/Kconfig b/subsys/bluetooth/host/Kconfig index aedb109c510..6eac61708cc 100644 --- a/subsys/bluetooth/host/Kconfig +++ b/subsys/bluetooth/host/Kconfig @@ -215,10 +215,6 @@ config BT_SETTINGS_USE_PRINTK printk is enabled then the program memory footprint will be larger. endif # BT_SETTINGS -config BT_WHITELIST - bool "DEPRECATED: Use BT_FILTER_ACCEPT_LIST instead" - select BT_FILTER_ACCEPT_LIST - config BT_FILTER_ACCEPT_LIST bool "Filter accept list support" help @@ -234,9 +230,6 @@ config BT_FILTER_ACCEPT_LIST advertising reports. Connections can be established automatically for accepted peers. - This options deprecates the bt_le_set_auto_conn API in favor of the - bt_conn_create_auto_le API. - config BT_LIM_ADV_TIMEOUT int "Timeout for limited advertising in 1s units" default 30