]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 24 Sep 2024 12:08:57 +0000 (14:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 8 Oct 2024 19:14:57 +0000 (21:14 +0200)
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>
net/mac80211/Kconfig

index 13438cc0a6b139b6cb10c15ce894153706514811..cf0f7780fb109e1c063826760aef36cb61bb9062 100644 (file)
@@ -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