diff options
author | Bruno Randolf <br1@einfach.org> | 2010-11-16 04:58:43 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-18 22:22:19 +0300 |
commit | eef39befaae2a1559efe197d795c376a317af2af (patch) | |
tree | 341245e6b696b69ae01a0bbbfd7da57df515ec50 /drivers/net/wireless/ath/ath5k/debug.c | |
parent | c5485a7e7569ab32eea240c850198519e2a765ef (diff) | |
download | linux-eef39befaae2a1559efe197d795c376a317af2af.tar.xz |
ath5k: Use generic EWMA library
Remove ath5k's private moving average implementation in favour of the generic
library version.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/debug.c b/drivers/net/wireless/ath/ath5k/debug.c index 54dcf77e9646..7d785cb60ce0 100644 --- a/drivers/net/wireless/ath/ath5k/debug.c +++ b/drivers/net/wireless/ath/ath5k/debug.c @@ -719,7 +719,7 @@ static ssize_t read_file_ani(struct file *file, char __user *user_buf, st->mib_intr); len += snprintf(buf+len, sizeof(buf)-len, "beacon RSSI average:\t%d\n", - sc->ah->ah_beacon_rssi_avg.avg); + (int)ewma_read(&sc->ah->ah_beacon_rssi_avg)); #define CC_PRINT(_struct, _field) \ _struct._field, \ |