diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2012-12-09 20:52:35 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-12-10 15:49:48 -0500 |
commit | 36d2943ba738a601e29cbd86fa6ab6ac838f3905 (patch) | |
tree | 414e8071ab9c893a76f9be58b0d5aeb2cf2c47e2 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 19f7842240eb30b1fdf4eacdd444bc9f61f97382 (diff) |
ath9k_hw: Various trivial fixes for PAPRD
* Remove unneeded memset.
All the values in the PAPRD gain table are filled, so there
is no need to zero out the arrays.
* Use GFP_KERNEL in ar9003_paprd_create_curve
This is called from the PAPRD work, so the atomic variant
is not needed.
* Change return type of ar9003_paprd_setup_gain_table
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 3636dabf03e1..fe87d0e67a1b 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -1058,7 +1058,7 @@ void ar9003_paprd_populate_single_table(struct ath_hw *ah, | |||
1058 | int chain); | 1058 | int chain); |
1059 | int ar9003_paprd_create_curve(struct ath_hw *ah, | 1059 | int ar9003_paprd_create_curve(struct ath_hw *ah, |
1060 | struct ath9k_hw_cal_data *caldata, int chain); | 1060 | struct ath9k_hw_cal_data *caldata, int chain); |
1061 | int ar9003_paprd_setup_gain_table(struct ath_hw *ah, int chain); | 1061 | void ar9003_paprd_setup_gain_table(struct ath_hw *ah, int chain); |
1062 | int ar9003_paprd_init_table(struct ath_hw *ah); | 1062 | int ar9003_paprd_init_table(struct ath_hw *ah); |
1063 | bool ar9003_paprd_is_done(struct ath_hw *ah); | 1063 | bool ar9003_paprd_is_done(struct ath_hw *ah); |
1064 | 1064 | ||