diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-06-12 04:33:44 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-14 19:39:29 (GMT) |
commit | 40346b66799b7d382e61bbb68a6b6bbdd20f320e (patch) | |
tree | 10c202f40b79ce532324eeb1f9ca3a7291bd2a56 /drivers/net/wireless/ath/ath9k/hw-ops.h | |
parent | 7ca710d58ee9018e4f18bdeb5b6e5dc50097ce14 (diff) | |
download | linux-40346b66799b7d382e61bbb68a6b6bbdd20f320e.tar.xz |
ath9k_hw: inform ANI calibration when scanning
The new ANI implementation will use this to skip ANI
calibration upon a scan. This cannot be ported to the
older ANI implementation unless default ANI values from
the ANI are also used upon a scan. This is essentially
what one of the things thenew ANI does.
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/hw-ops.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw-ops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw-ops.h b/drivers/net/wireless/ath/ath9k/hw-ops.h index 65d2c66..381da6c 100644 --- a/drivers/net/wireless/ath/ath9k/hw-ops.h +++ b/drivers/net/wireless/ath/ath9k/hw-ops.h @@ -288,9 +288,9 @@ static inline bool ath9k_hw_iscal_supported(struct ath_hw *ah, return ath9k_hw_private_ops(ah)->iscal_supported(ah, calType); } -static inline void ath9k_ani_reset(struct ath_hw *ah) +static inline void ath9k_ani_reset(struct ath_hw *ah, bool is_scanning) { - ath9k_hw_private_ops(ah)->ani_reset(ah); + ath9k_hw_private_ops(ah)->ani_reset(ah, is_scanning); } #endif /* ATH9K_HW_OPS_H */ |