summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/spectral.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/spectral.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/spectral.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/spectral.c b/drivers/net/wireless/ath/ath9k/spectral.c
index 348dddd..3a394e1 100644
--- a/drivers/net/wireless/ath/ath9k/spectral.c
+++ b/drivers/net/wireless/ath/ath9k/spectral.c
@@ -215,7 +215,7 @@ static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf,
char *mode = "";
unsigned int len;
- switch (sc->spectral_mode) {
+ switch (sc->spec_priv.spectral_mode) {
case SPECTRAL_DISABLED:
mode = "disable";
break;
OpenPOWER on IntegriCloud