Skip to content

Commit b3e046c

Browse files
geertujmberg-intel
authored andcommitted
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: 3fae027 ("mac80211: trace debug messages") Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://patch.msgid.link/85bbe38ce0df13350f45714e2dc288cc70947a19.1727179690.git.geert@linux-m68k.org Signed-off-by: Johannes Berg <[email protected]>
1 parent 07c90ac commit b3e046c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/mac80211/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ config MAC80211_DEBUGFS
9696

9797
config MAC80211_MESSAGE_TRACING
9898
bool "Trace all mac80211 debug messages"
99-
depends on MAC80211
99+
depends on MAC80211 && TRACING
100100
help
101101
Select this option to have mac80211 register the
102102
mac80211_msg trace subsystem with tracepoints to

0 commit comments

Comments
 (0)