]> Git Repo - linux.git/commitdiff
wifi: brcm80211: BRCM_TRACING should depend on TRACING
authorGeert Uytterhoeven <[email protected]>
Tue, 24 Sep 2024 12:09:32 +0000 (14:09 +0200)
committerKalle Valo <[email protected]>
Thu, 17 Oct 2024 14:23:42 +0000 (17:23 +0300)
When tracing is disabled, there is no point in asking the user about
enabling Broadcom wireless device tracing.

Fixes: f5c4f10852d42012 ("brcm80211: Allow trace support to be enabled separately from debug")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://patch.msgid.link/81a29b15eaacc1ac1fb421bdace9ac0c3385f40f.1727179742.git.geert@linux-m68k.org
drivers/net/wireless/broadcom/brcm80211/Kconfig

index 3a1a35b5672f1a27911a287579a7ce737a157f0e..19d0c003f62626756aebf1068c1e1274e3e9030a 100644 (file)
@@ -27,6 +27,7 @@ source "drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig"
 config BRCM_TRACING
        bool "Broadcom device tracing"
        depends on BRCMSMAC || BRCMFMAC
+       depends on TRACING
        help
          If you say Y here, the Broadcom wireless drivers will register
          with ftrace to dump event information into the trace ringbuffer.
This page took 0.057763 seconds and 4 git commands to generate.