]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: remove aniState->noiseFloor
authorFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jun 2012 13:25:19 +0000 (15:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 18:44:41 +0000 (14:44 -0400)
commit1935f1d91c87d3a0a70d13e7a5b2524c2990d4bf
tree3e40f84a2c2a49be6fac5265d3fd5677c28524b7
parentfd1fbb756fe2ea12e01b103e518c12940b7bb713
ath9k_hw: remove aniState->noiseFloor

I don't know why somebody decided to keep a cached copy of beacon rssi in a
variable called 'noiseFloor', but the caching is unnecessary and the variable
name is confusing, so let's just get rid of it entirely.

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