ath9k: Tune ANI function processing on AP mode during ANI reset
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 16 Jul 2009 17:17:35 +0000 (10:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Jul 2009 16:07:43 +0000 (12:07 -0400)
commitc66284f2a421f6aebbafd56cb8b90b8e6a9cb2de
tree9700b1558daf2c9947a9ed3e879773e6743ef76c
parent7adfd5c71693b81e995283805b17aa4a2ee0ecd9
ath9k: Tune ANI function processing on AP mode during ANI reset

For AP mode we must tune ANI specially for 2 GHz and
for 5 GHz. We mask in only the flags we want to toggle
on ath9k_hw_ani_control() through the ah->ani_function
bitmask, this will take care of ignoring changes during
ANI reset which we were disabling before.

Testedy-by: Steven Luo <steven@steven676.net>
Cc: Bennyam Malavazi <bennyam.malavazi@atheros.com>
Cc: Jouni Malinen <jouni.malinen@Atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ani.c