diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-09 02:57:26 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 13:45:10 -0500 |
commit | 2660b81a378ab227b78c4cc618453fa7e19a7c7b (patch) | |
tree | ea305af43f0e27c86538fecce6c9a4e0151dbc78 /drivers/net/wireless/ath9k/ath9k.h | |
parent | f74df6fbe31561091bf42be0ed30232be2b9d3ac (diff) |
ath9k: Remove all the useless ah_ variable prefixes
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath9k/ath9k.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath9k/ath9k.h b/drivers/net/wireless/ath9k/ath9k.h index 91140b7214b1..0b0f82c83ffc 100644 --- a/drivers/net/wireless/ath9k/ath9k.h +++ b/drivers/net/wireless/ath9k/ath9k.h | |||
@@ -670,8 +670,8 @@ static inline void ath_ahb_exit(void) {}; | |||
670 | static inline void ath9k_ps_wakeup(struct ath_softc *sc) | 670 | static inline void ath9k_ps_wakeup(struct ath_softc *sc) |
671 | { | 671 | { |
672 | if (atomic_inc_return(&sc->ps_usecount) == 1) | 672 | if (atomic_inc_return(&sc->ps_usecount) == 1) |
673 | if (sc->sc_ah->ah_power_mode != ATH9K_PM_AWAKE) { | 673 | if (sc->sc_ah->power_mode != ATH9K_PM_AWAKE) { |
674 | sc->sc_ah->ah_restore_mode = sc->sc_ah->ah_power_mode; | 674 | sc->sc_ah->restore_mode = sc->sc_ah->power_mode; |
675 | ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_AWAKE); | 675 | ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_AWAKE); |
676 | } | 676 | } |
677 | } | 677 | } |
@@ -681,6 +681,6 @@ static inline void ath9k_ps_restore(struct ath_softc *sc) | |||
681 | if (atomic_dec_and_test(&sc->ps_usecount)) | 681 | if (atomic_dec_and_test(&sc->ps_usecount)) |
682 | if (sc->hw->conf.flags & IEEE80211_CONF_PS) | 682 | if (sc->hw->conf.flags & IEEE80211_CONF_PS) |
683 | ath9k_hw_setpower(sc->sc_ah, | 683 | ath9k_hw_setpower(sc->sc_ah, |
684 | sc->sc_ah->ah_restore_mode); | 684 | sc->sc_ah->restore_mode); |
685 | } | 685 | } |
686 | #endif /* ATH9K_H */ | 686 | #endif /* ATH9K_H */ |