From 6f86adbc0dc726a5830f20d250458f8995a870bb Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Wed, 13 Nov 2024 11:16:09 +0100 Subject: [PATCH] Bluetooth: BAP: Use def_bool instead of select for BT_BAP_UNICAST Remove the selects from BT_BAP_UNICAST_SERVER and BT_BAP_UNICAST_CLIENT and use a def_bool for BT_BAP_UNICAST. This is part of an effort to reduce select in Kconfig. Signed-off-by: Emil Gydesen --- subsys/bluetooth/audio/Kconfig.bap | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/subsys/bluetooth/audio/Kconfig.bap b/subsys/bluetooth/audio/Kconfig.bap index e589e8608cb..7e375a2e2c4 100644 --- a/subsys/bluetooth/audio/Kconfig.bap +++ b/subsys/bluetooth/audio/Kconfig.bap @@ -7,11 +7,10 @@ # config BT_BAP_UNICAST - bool + def_bool BT_BAP_UNICAST_SERVER || BT_BAP_UNICAST_CLIENT config BT_BAP_UNICAST_SERVER bool "Bluetooth Unicast Audio Server Support" - select BT_BAP_UNICAST depends on BT_GATT_DYNAMIC_DB depends on BT_GATT_CACHING depends on BT_PERIPHERAL @@ -25,7 +24,6 @@ config BT_BAP_UNICAST_SERVER config BT_BAP_UNICAST_CLIENT bool "Bluetooth Unicast Audio Client Support" - select BT_BAP_UNICAST select BT_GATT_CLIENT select BT_GATT_AUTO_DISCOVER_CCC select BT_GATT_AUTO_UPDATE_MTU @@ -79,7 +77,6 @@ config BT_AUDIO_CODEC_CAP_MAX_METADATA_SIZE if BT_BAP_UNICAST_CLIENT config BT_BAP_UNICAST_CLIENT_GROUP_COUNT int "Basic Audio Unicast Group count" - depends on BT_BAP_UNICAST default BT_ISO_MAX_CIG range 1 BT_ISO_MAX_CIG help