From: Geert Uytterhoeven Date: Tue, 24 Sep 2024 12:08:57 +0000 (+0200) Subject: mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING X-Git-Tag: v6.12-rc6~33^2~24^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3e046c31441d182b954fc2f57b2dc38c71ad4bc;p=thirdparty%2Flinux.git 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 Link: https://patch.msgid.link/85bbe38ce0df13350f45714e2dc288cc70947a19.1727179690.git.geert@linux-m68k.org Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig index 13438cc0a6b13..cf0f7780fb109 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