diff options
author | Bruno Randolf <br1@einfach.org> | 2010-12-21 11:30:20 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-22 23:43:27 +0300 |
commit | 26c7fc436422de5d6d2b491f777e965e96f5c3a2 (patch) | |
tree | d1baebe86ad6045dbbb23761e46ece44c11a9c5f /drivers/net/wireless/ath/ath5k/ath5k.h | |
parent | 6dab55bf7eb52ca21d5e6c97b97f70875fe41ddc (diff) | |
download | linux-26c7fc436422de5d6d2b491f777e965e96f5c3a2.tar.xz |
ath5k: Simplify powertable recalculation
Let ath5k_hw_txpower() decide if it can re-use the powertable or if it has to
be recalculated instead of passing a 'fast' flag from the outside.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ath5k.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index d6e744088bc6..e6491bf359c0 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h @@ -1113,6 +1113,7 @@ struct ath5k_hw { s16 txp_cck_ofdm_gainf_delta; /* Value in dB units */ s16 txp_cck_ofdm_pwr_delta; + bool txp_setup; } ah_txpower; struct { |