diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/phy.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index fcfc32d4da20..4a49dbb17352 100644 --- a/drivers/net/wireless/ath/ath5k/phy.c +++ b/drivers/net/wireless/ath/ath5k/phy.c | |||
@@ -2557,7 +2557,7 @@ ath5k_combine_pwr_to_pdadc_curves(struct ath5k_hw *ah, | |||
2557 | max_idx = (pdadc_n < table_size) ? pdadc_n : table_size; | 2557 | max_idx = (pdadc_n < table_size) ? pdadc_n : table_size; |
2558 | 2558 | ||
2559 | /* Fill pdadc_out table */ | 2559 | /* Fill pdadc_out table */ |
2560 | while (pdadc_0 < max_idx) | 2560 | while (pdadc_0 < max_idx && pdadc_i < 128) |
2561 | pdadc_out[pdadc_i++] = pdadc_tmp[pdadc_0++]; | 2561 | pdadc_out[pdadc_i++] = pdadc_tmp[pdadc_0++]; |
2562 | 2562 | ||
2563 | /* Need to extrapolate above this pdgain? */ | 2563 | /* Need to extrapolate above this pdgain? */ |