Skip to content

Commit

Permalink
ath9k: enable ANI for ar9100 chips
Browse files Browse the repository at this point in the history
  Enable ANI for ar9100 since it seems to be working fine (and as a
matter of fact ANI was always performed for ar9100 since code which
was supposed to disable it didn't achieve this goal).
  This patch sets config.enable_ani to default (true) value for
ar9100.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Nikolay Martynov authored and John W. Linville committed Dec 7, 2011
1 parent 4279425 commit 4f17c48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,8 @@ 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 9100 and 9340 */
if (AR_SREV_9100(ah) || AR_SREV_9340(ah))
/* disable ANI for 9340 */
if (AR_SREV_9340(ah))
ah->config.enable_ani = false;

ath9k_hw_init_mode_regs(ah);
Expand Down

0 comments on commit 4f17c48

Please sign in to comment.