summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ani.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-15 15:25:19 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-06-20 14:44:41 -0400
commit35e808b7e4e9ddac1086716867fe686f52fb78ff (patch)
tree3e40f84a2c2a49be6fac5265d3fd5677c28524b7 /drivers/net/wireless/ath/ath9k/ani.h
parenta769f9577232afe2c754606a83aad85127e7052a (diff)
downloadblackbird-op-linux-35e808b7e4e9ddac1086716867fe686f52fb78ff.tar.gz
blackbird-op-linux-35e808b7e4e9ddac1086716867fe686f52fb78ff.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ani.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ani.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ani.h b/drivers/net/wireless/ath/ath9k/ani.h
index 72e2b874e179..c04d167725f5 100644
--- a/drivers/net/wireless/ath/ath9k/ani.h
+++ b/drivers/net/wireless/ath/ath9k/ani.h
@@ -128,7 +128,6 @@ struct ar5416AniState {
u32 listenTime;
int32_t rssiThrLow;
int32_t rssiThrHigh;
- u32 noiseFloor;
u32 ofdmPhyErrCount;
u32 cckPhyErrCount;
int16_t pktRssi[2];
OpenPOWER on IntegriCloud