summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/Kconfig
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2020-05-06 09:57:52 +0200
committerMarcel Holtmann <marcel@holtmann.org>2020-05-11 12:16:27 +0200
commite625e50ceee18bc1e3fb1a6375e089405a797a4d (patch)
tree861f2b11aa43e544c77c071ddc8909d9c59cb5b9 /net/bluetooth/Kconfig
parentBluetooth: Add support for experimental features configuration (diff)
downloadlinux-e625e50ceee18bc1e3fb1a6375e089405a797a4d.tar.xz
linux-e625e50ceee18bc1e3fb1a6375e089405a797a4d.zip
Bluetooth: Introduce debug feature when dynamic debug is disabled
In case dynamic debug is disabled, this feature allows a vendor platform to provide debug statement printing. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/Kconfig')
-rw-r--r--net/bluetooth/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
index 9e25c6570170..1d6d243cdde9 100644
--- a/net/bluetooth/Kconfig
+++ b/net/bluetooth/Kconfig
@@ -135,4 +135,11 @@ config BT_SELFTEST_SMP
Run test cases for SMP cryptographic functionality, including both
legacy SMP as well as the Secure Connections features.
+config BT_FEATURE_DEBUG
+ bool "Enable runtime option for debugging statements"
+ depends on BT && !DYNAMIC_DEBUG
+ help
+ This provides an option to enable/disable debugging statements
+ at runtime via the experimental features interface.
+
source "drivers/bluetooth/Kconfig"