ath9k_hw: clean up ANI OFDM trigger handling
authorFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jun 2012 13:25:27 +0000 (15:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 18:44:44 +0000 (14:44 -0400)
commit058a6385cb876d4b1b97610ee4e73a845e7bea71
tree690c84e1b6f3c665917695e6ab98c1105d1201ef
parent1e8f0a317b5774b2856cd8824991324efb353963
ath9k_hw: clean up ANI OFDM trigger handling

Adjust ah->config.ofdm_trig_{high,low} when setting noise immunity values
to simplify threshold checks in ath9k_hw_ani_monitor

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