diff options
-rw-r--r-- | drivers/net/wireless/ath/ath5k/phy.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index e291bfbd6e68..384347b0c9f0 100644 --- a/drivers/net/wireless/ath/ath5k/phy.c +++ b/drivers/net/wireless/ath/ath5k/phy.c | |||
@@ -2435,19 +2435,6 @@ ath5k_combine_linear_pcdac_curves(struct ath5k_hw *ah, s16* table_min, | |||
2435 | pcdac_tmp = pcdac_high_pwr; | 2435 | pcdac_tmp = pcdac_high_pwr; |
2436 | 2436 | ||
2437 | edge_flag = 0x40; | 2437 | edge_flag = 0x40; |
2438 | #if 0 | ||
2439 | /* If both min and max power limits are in lower | ||
2440 | * power curve's range, only use the low power curve. | ||
2441 | * TODO: min/max levels are related to target | ||
2442 | * power values requested from driver/user | ||
2443 | * XXX: Is this really needed ? */ | ||
2444 | if (min_pwr < table_max[1] && | ||
2445 | max_pwr < table_max[1]) { | ||
2446 | edge_flag = 0; | ||
2447 | pcdac_tmp = pcdac_low_pwr; | ||
2448 | max_pwr_idx = (table_max[1] - table_min[1])/2; | ||
2449 | } | ||
2450 | #endif | ||
2451 | } else { | 2438 | } else { |
2452 | pcdac_low_pwr = ah->ah_txpower.tmpL[1]; /* Zeroed */ | 2439 | pcdac_low_pwr = ah->ah_txpower.tmpL[1]; /* Zeroed */ |
2453 | pcdac_high_pwr = ah->ah_txpower.tmpL[0]; | 2440 | pcdac_high_pwr = ah->ah_txpower.tmpL[0]; |