mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[backfire] merge ath9k fixes from r22123
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22124 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
11
package/mac80211/patches/522-ath9k_pwrcal_fix.patch
Normal file
11
package/mac80211/patches/522-ath9k_pwrcal_fix.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/drivers/net/wireless/ath/ath9k/eeprom_def.c
|
||||
+++ b/drivers/net/wireless/ath/ath9k/eeprom_def.c
|
||||
@@ -730,7 +730,7 @@ static void ath9k_hw_get_def_gain_bounda
|
||||
vpdTableI[i][sizeCurrVpdTable - 2]);
|
||||
vpdStep = (int16_t)((vpdStep < 1) ? 1 : vpdStep);
|
||||
|
||||
- if (tgtIndex > maxIndex) {
|
||||
+ if (tgtIndex >= maxIndex) {
|
||||
while ((ss <= tgtIndex) &&
|
||||
(k < (AR5416_NUM_PDADC_VALUES - 1))) {
|
||||
tmpVal = (int16_t)((vpdTableI[i][sizeCurrVpdTable - 1] +
|
||||
Reference in New Issue
Block a user