Skip to content

Commit

Permalink
mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING
Browse files Browse the repository at this point in the history
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 <geert@linux-m68k.org>
Signed-off-by: NipaLocal <nipa@local>
  • Loading branch information
geertu authored and NipaLocal committed Sep 25, 2024
1 parent 67b77d3 commit cc412f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc412f1

Please sign in to comment.