ath9k: debugfs: Fix SPUR-DOWN field
authorAndrea Greco <a.greco@4sigma.it>
Thu, 21 Feb 2019 23:12:57 +0000 (00:12 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 Feb 2019 13:08:16 +0000 (15:08 +0200)
SPUR DOWN field returns spurup instead of spurdown.

Signed-off-by: Andrea Greco <a.greco@4sigma.it>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/debug.c

index 0dfea5d6e949d2e1b953295edea8ef2bee6d6da4..26ea51a72156475460fb60e40de7b469b364ff8e 100644 (file)
@@ -148,7 +148,7 @@ static ssize_t read_file_ani(struct file *file, char __user *user_buf,
                { "OFDM LEVEL", ah->ani.ofdmNoiseImmunityLevel },
                { "CCK LEVEL", ah->ani.cckNoiseImmunityLevel },
                { "SPUR UP", ah->stats.ast_ani_spurup },
-               { "SPUR DOWN", ah->stats.ast_ani_spurup },
+               { "SPUR DOWN", ah->stats.ast_ani_spurdown },
                { "OFDM WS-DET ON", ah->stats.ast_ani_ofdmon },
                { "OFDM WS-DET OFF", ah->stats.ast_ani_ofdmoff },
                { "MRC-CCK ON", ah->stats.ast_ani_ccklow },