]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: clean up / fix ANI mode checks related to beacon RSSI
authorFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jun 2012 13:25:22 +0000 (15:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 18:44:42 +0000 (14:44 -0400)
commit664c609ecd2b793e41a3ecc2e039f59405bf76a2
tree6702f452d802105ed4c3f2e601a30e6eb077a1e5
parent54263355b663cd00446d38d28c430e3d311987c4
ath9k_hw: clean up / fix ANI mode checks related to beacon RSSI

Beacon RSSI is only meaningful in station mode - in ad-hoc mode it
fluctuates, depending on which peer last sent a beacon, and in other
modes it is not set at all.
Fix places in ANI where the beacon RSSI is used to limit their use
to station mode only.

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