ath9k_hw: fix AR9380 register settings for channel 14
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Mar 2012 15:40:30 +0000 (16:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Mar 2012 17:45:06 +0000 (13:45 -0400)
Program the ah->ini_japan2484 INI values which were left out by accident

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_phy.c

index 70e27d2a5e43e76d4a59859c6ea26f6c7830c76e..99b64f27bb22e93298b5a047ce36090241127c11 100644 (file)
@@ -691,6 +691,9 @@ static int ar9003_hw_process_ini(struct ath_hw *ah,
        if (AR_SREV_9462(ah))
                ar9003_hw_prog_ini(ah, &ah->ini_BTCOEX_MAX_TXPWR, 1);
 
+       if (chan->channel == 2484)
+               ar9003_hw_prog_ini(ah, &ah->ini_japan2484, 1);
+
        ah->modes_index = modesIndex;
        ar9003_hw_override_ini(ah);
        ar9003_hw_set_channel_regs(ah, chan);