diff mbox series

[2/2] ath9K: debugfs: Fix SPUR-DOWN field

Message ID 20190221231257.6221-1-andrea.greco.gapmilano@gmail.com (mailing list archive)
State Accepted
Commit d0480d4326e208abd7222803a4d8230d445803ea
Delegated to: Kalle Valo
Headers show
Series [1/2] nl80211: Allow change CW to Ad-Hock network | expand

Commit Message

Andrea Greco Feb. 21, 2019, 11:12 p.m. UTC
From: Andrea Greco <a.greco@4sigma.it>

SPUR DOWN field return spurup inside of spurdown

Signed-off-by: Andrea Greco <a.greco@4sigma.it>
---
 drivers/net/wireless/ath/ath9k/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Feb. 26, 2019, 1:08 p.m. UTC | #1
Andrea Greco <a.greco@4sigma.it> wrote:

> 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>

Patch applied to ath-next branch of ath.git, thanks.

d0480d4326e2 ath9k: debugfs: Fix SPUR-DOWN field
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c
index 4399e9ad058f..d4a2cdf9212c 100644
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
@@ -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 },