diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-09-13 03:03:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:28 -0400 |
commit | b002a4a950e41326310795cf4a0c74d0e90fa70a (patch) | |
tree | 57057bf14397542cab1c5c558727e9cec6e379eb /drivers/net/wireless/ath/ath9k/ani.c | |
parent | 13b81559200b8e54473e5b140323cbb5f2bb21c0 (diff) |
atheros: add ieee80211_hw to ath_common
Make use of it on hw code in ath9k to avoid
using the ath9k ath_softc.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ani.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ani.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ani.c b/drivers/net/wireless/ath/ath9k/ani.c index e4f9559d25b6..9682c49ab454 100644 --- a/drivers/net/wireless/ath/ath9k/ani.c +++ b/drivers/net/wireless/ath/ath9k/ani.c | |||
@@ -271,7 +271,7 @@ static void ath9k_ani_restart(struct ath_hw *ah) | |||
271 | 271 | ||
272 | static void ath9k_hw_ani_ofdm_err_trigger(struct ath_hw *ah) | 272 | static void ath9k_hw_ani_ofdm_err_trigger(struct ath_hw *ah) |
273 | { | 273 | { |
274 | struct ieee80211_conf *conf = &ah->ah_sc->hw->conf; | 274 | struct ieee80211_conf *conf = &ath9k_hw_common(ah)->hw->conf; |
275 | struct ar5416AniState *aniState; | 275 | struct ar5416AniState *aniState; |
276 | int32_t rssi; | 276 | int32_t rssi; |
277 | 277 | ||
@@ -343,7 +343,7 @@ static void ath9k_hw_ani_ofdm_err_trigger(struct ath_hw *ah) | |||
343 | 343 | ||
344 | static void ath9k_hw_ani_cck_err_trigger(struct ath_hw *ah) | 344 | static void ath9k_hw_ani_cck_err_trigger(struct ath_hw *ah) |
345 | { | 345 | { |
346 | struct ieee80211_conf *conf = &ah->ah_sc->hw->conf; | 346 | struct ieee80211_conf *conf = &ath9k_hw_common(ah)->hw->conf; |
347 | struct ar5416AniState *aniState; | 347 | struct ar5416AniState *aniState; |
348 | int32_t rssi; | 348 | int32_t rssi; |
349 | 349 | ||