summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ani.c
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>2011-08-26 07:49:57 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-08-29 21:25:29 +0200
commit107021c4ce105c9c9d5406dfc4b1fe0f2aa86455 (patch)
tree750420670513411746928bb232cb24264cda2933 /drivers/net/wireless/ath/ath9k/ani.c
parentath9k: use appropriate debug mask (diff)
downloadlinux-107021c4ce105c9c9d5406dfc4b1fe0f2aa86455.tar.xz
linux-107021c4ce105c9c9d5406dfc4b1fe0f2aa86455.zip
ath9k: minor cleanup in ani
removed a function declaration, removed a variable, renamed a variable Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ani.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ani.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ani.c b/drivers/net/wireless/ath/ath9k/ani.c
index bfb6481f01f9..d969a11e3425 100644
--- a/drivers/net/wireless/ath/ath9k/ani.c
+++ b/drivers/net/wireless/ath/ath9k/ani.c
@@ -643,7 +643,7 @@ static bool ath9k_hw_ani_read_counters(struct ath_hw *ah)
listenTime = ath_hw_get_listen_time(common);
if (listenTime <= 0) {
- ah->stats.ast_ani_lneg++;
+ ah->stats.ast_ani_lneg_or_lzero++;
ath9k_ani_restart(ah);
return false;
}