Merge tag 'ntb-3.12' of git://github.com/jonmason/ntb
[cascardo/linux.git] / drivers / net / wireless / ath / ath9k / ani.c
index 4994bea..be466b0 100644 (file)
@@ -319,9 +319,6 @@ void ath9k_ani_reset(struct ath_hw *ah, bool is_scanning)
                        ah->ani_function = 0;
        }
 
-       /* always allow mode (on/off) to be controlled */
-       ah->ani_function |= ATH9K_ANI_MODE;
-
        ofdm_nil = max_t(int, ATH9K_ANI_OFDM_DEF_LEVEL,
                         aniState->ofdmNoiseImmunityLevel);
        cck_nil = max_t(int, ATH9K_ANI_CCK_DEF_LEVEL,