summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2024-09-24 14:08:57 +0200
committerJohannes Berg <johannes.berg@intel.com>2024-10-08 21:14:57 +0200
commitb3e046c31441d182b954fc2f57b2dc38c71ad4bc (patch)
treed2ad46962a307067bcc971e485b62a044e8126fc /net/mac80211
parent07c90acb071b9954e1fecb1e4f4f13d12c544b34 (diff)
downloadlinux-stable-b3e046c31441d182b954fc2f57b2dc38c71ad4bc.tar.gz
linux-stable-b3e046c31441d182b954fc2f57b2dc38c71ad4bc.tar.bz2
linux-stable-b3e046c31441d182b954fc2f57b2dc38c71ad4bc.zip
mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING
When tracing is disabled, there is no point in asking the user about enabling tracing of all mac80211 debug messages. Fixes: 3fae0273168026ed ("mac80211: trace debug messages") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://patch.msgid.link/85bbe38ce0df13350f45714e2dc288cc70947a19.1727179690.git.geert@linux-m68k.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 13438cc0a6b1..cf0f7780fb10 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -96,7 +96,7 @@ config MAC80211_DEBUGFS
config MAC80211_MESSAGE_TRACING
bool "Trace all mac80211 debug messages"
- depends on MAC80211
+ depends on MAC80211 && TRACING
help
Select this option to have mac80211 register the
mac80211_msg trace subsystem with tracepoints to