ath9k_hw: enable ANI for AR9003
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Sat, 12 Jun 2010 04:33:46 +0000 (00:33 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:29 +0000 (15:39 -0400)
AR9003 has been tested with the new ANI implementation
and so ANI can now be enabled for that family.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index 739be8f6e6af4b6319cc43ea88e2037330353f84..874c4e9d9899f90919644d1431676fc21621b46f 100644 (file)
@@ -375,13 +375,7 @@ static void ath9k_hw_init_config(struct ath_hw *ah)
        ah->config.ofdm_trig_high = 500;
        ah->config.cck_trig_high = 200;
        ah->config.cck_trig_low = 100;
-
-       /*
-        * For now ANI is disabled for AR9003, it is still
-        * being tested.
-        */
-       if (!AR_SREV_9300_20_OR_LATER(ah))
-               ah->config.enable_ani = 1;
+       ah->config.enable_ani = true;
 
        for (i = 0; i < AR_EEPROM_MODAL_SPURS; i++) {
                ah->config.spurchans[i][0] = AR_NO_SPUR;