summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2014-11-06 10:53:19 +0300
committerJohn W. Linville <linville@tuxdriver.com>2014-11-12 00:31:13 +0300
commit8391f60194bd0d9ab489105381df6455afe1f39a (patch)
tree1bfefe52f4f54ad8e458a30cc9e824d2b4b218c4 /drivers/net/wireless/ath/ath9k/main.c
parent911ea79f435302fabefa305d3649efd4e205672b (diff)
downloadlinux-8391f60194bd0d9ab489105381df6455afe1f39a.tar.xz
ath9k: move spectral_mode to ath_spec_scan_priv
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 3ab5f630062b..c074658dbf54 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1363,7 +1363,7 @@ void ath9k_spectral_scan_trigger(struct ieee80211_hw *hw)
* configuration, otherwise the register will have its values reset
* (on my ar9220 to value 0x01002310)
*/
- ath9k_spectral_scan_config(hw, sc->spectral_mode);
+ ath9k_spectral_scan_config(hw, sc->spec_priv.spectral_mode);
ath9k_hw_ops(ah)->spectral_scan_trigger(ah);
ath9k_ps_restore(sc);
}
@@ -1404,7 +1404,7 @@ int ath9k_spectral_scan_config(struct ieee80211_hw *hw,
ath9k_hw_ops(ah)->spectral_scan_config(ah, &sc->spec_config);
ath9k_ps_restore(sc);
- sc->spectral_mode = spectral_mode;
+ sc->spec_priv.spectral_mode = spectral_mode;
return 0;
}