summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2014-11-06 07:53:26 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2014-11-11 21:31:14 (GMT)
commit934bdc73dd3029c1b91e1a3538268b4afccd58cf (patch)
tree895786cf6df5335a8341a67475235489b86a5c39 /drivers/net/wireless/ath/ath9k/main.c
parent99d2217b731e664aa31001839f12944b1e114a08 (diff)
downloadlinux-934bdc73dd3029c1b91e1a3538268b4afccd58cf.tar.xz
ath9k: use ath_ps_ops in ath9k_spectral_scan_
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index f9641ee..412b0a6 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1352,7 +1352,7 @@ void ath9k_spectral_scan_trigger(struct ieee80211_hw *hw)
return;
}
- ath9k_ps_wakeup(sc);
+ ath_ps_ops(common)->wakeup(common);
rxfilter = ath9k_hw_getrxfilter(ah);
ath9k_hw_setrxfilter(ah, rxfilter |
ATH9K_RX_FILTER_PHYRADAR |
@@ -1365,7 +1365,7 @@ void ath9k_spectral_scan_trigger(struct ieee80211_hw *hw)
*/
ath9k_spectral_scan_config(hw, sc->spec_priv.spectral_mode);
ath9k_hw_ops(ah)->spectral_scan_trigger(ah);
- ath9k_ps_restore(sc);
+ ath_ps_ops(common)->restore(common);
}
int ath9k_spectral_scan_config(struct ieee80211_hw *hw,
@@ -1400,9 +1400,9 @@ int ath9k_spectral_scan_config(struct ieee80211_hw *hw,
return -1;
}
- ath9k_ps_wakeup(sc);
+ ath_ps_ops(common)->wakeup(common);
ath9k_hw_ops(ah)->spectral_scan_config(ah, &sc->spec_priv.spec_config);
- ath9k_ps_restore(sc);
+ ath_ps_ops(common)->restore(common);
sc->spec_priv.spectral_mode = spectral_mode;