aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNick Kossifidis <mickflemm@gmail.com>2010-11-23 14:45:21 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-30 13:53:44 -0500
commit3bb17654605965226e5b322dbc22ece5ff354ac5 (patch)
tree2d0e52a33f1c110513265d46b6d83b6c66b39f56 /drivers
parentb02f5d1a17c652a74098f2a04db7fb8e6220057e (diff)
ath5k: Skip tx power setting on AR5210 for now
* Don't return -EINVAL when trying to set tx power on RF5110 because AR5210 reset will fail. We need to add support for RF5110 and AR5210 eeprom in the future but for now just skip it. Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath5k/phy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c
index 8790f0ab1983..31239ab6a003 100644
--- a/drivers/net/wireless/ath/ath5k/phy.c
+++ b/drivers/net/wireless/ath/ath5k/phy.c
@@ -3109,6 +3109,9 @@ ath5k_hw_txpower(struct ath5k_hw *ah, struct ieee80211_channel *channel,
3109 3109
3110 /* Initialize TX power table */ 3110 /* Initialize TX power table */
3111 switch (ah->ah_radio) { 3111 switch (ah->ah_radio) {
3112 case AR5K_RF5110:
3113 /* TODO */
3114 return 0;
3112 case AR5K_RF5111: 3115 case AR5K_RF5111:
3113 type = AR5K_PWRTABLE_PWR_TO_PCDAC; 3116 type = AR5K_PWRTABLE_PWR_TO_PCDAC;
3114 break; 3117 break;