diff --git a/subsys/bluetooth/audio/Kconfig.cap b/subsys/bluetooth/audio/Kconfig.cap index 7532391bd7d..63a81ed3e6c 100644 --- a/subsys/bluetooth/audio/Kconfig.cap +++ b/subsys/bluetooth/audio/Kconfig.cap @@ -36,7 +36,7 @@ config BT_DEBUG_CAP_ACCEPTOR module = BT_CAP_ACCEPTOR legacy-debug-sym = BT_DEBUG_CAP_ACCEPTOR -module-str = "Common Audio Profile" +module-str = "Common Audio Profile Acceptor" source "subsys/bluetooth/common/Kconfig.template.log_config_bt" config BT_CAP_INITIATOR @@ -48,7 +48,13 @@ config BT_CAP_INITIATOR config BT_DEBUG_CAP_INITIATOR bool "Common Audio Profile Initiator debug" + select DEPRECATED depends on BT_CAP_INITIATOR help Use this option to enable CAP Initiator debug logs for the Bluetooth Audio functionality. + +module = BT_CAP_INITIATOR +legacy-debug-sym = BT_DEBUG_CAP_INITIATOR +module-str = "Common Audio Profile Initiator" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" diff --git a/subsys/bluetooth/audio/cap_initiator.c b/subsys/bluetooth/audio/cap_initiator.c index 6a1c467141b..578494aab63 100644 --- a/subsys/bluetooth/audio/cap_initiator.c +++ b/subsys/bluetooth/audio/cap_initiator.c @@ -13,7 +13,7 @@ #include -LOG_MODULE_REGISTER(bt_cap_initiator, LOG_LEVEL_DBG); +LOG_MODULE_REGISTER(bt_cap_initiator, CONFIG_BT_CAP_INITIATOR_LOG_LEVEL); static const struct bt_cap_initiator_cb *cap_cb;