]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2024 15:22:00 +0000 (16:22 +0100)
[ Upstream commit b3e046c31441d182b954fc2f57b2dc38c71ad4bc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/Kconfig

index 51ec8256b7fa9e45455e10c0f16448c12e87b4dd..8278221a36a1d37038d41af8430cf94c41fb77cd 100644 (file)
@@ -86,7 +86,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