ath9k_hw: enable ANI on AR934x
authorFelix Fietkau <nbd@openwrt.org>
Sun, 15 Jul 2012 17:53:31 +0000 (19:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jul 2012 19:11:34 +0000 (15:11 -0400)
It has been tested and works properly

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

index 9c8e0d84c56bcc4c57744b8bd81a8046928f271e..ddb24bfc273791af3fef014d7f64e66b091daaf6 100644 (file)
@@ -671,10 +671,6 @@ static int __ath9k_hw_init(struct ath_hw *ah)
        if (!AR_SREV_9300_20_OR_LATER(ah))
                ah->ani_function &= ~ATH9K_ANI_MRC_CCK;
 
-       /* disable ANI for 9340 */
-       if (AR_SREV_9340(ah))
-               ah->config.enable_ani = false;
-
        ath9k_hw_init_mode_regs(ah);
 
        if (!ah->is_pciexpress)