Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Geert Uytterhoeven and committed by
Johannes Berg
b3e046c3 07c90acb

+1 -1
+1 -1
net/mac80211/Kconfig
··· 96 96 97 97 config MAC80211_MESSAGE_TRACING 98 98 bool "Trace all mac80211 debug messages" 99 - depends on MAC80211 99 + depends on MAC80211 && TRACING 100 100 help 101 101 Select this option to have mac80211 register the 102 102 mac80211_msg trace subsystem with tracepoints to