From: Vasanthakumar Thiagarajan Date: Thu, 20 Aug 2009 08:11:14 +0000 (+0530) Subject: ath9k: Fix bug in retrieving average beacon rssi X-Git-Tag: v2.6.32-rc1~703^2~335^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff36041652fcb9f5c17bdbeb081414f69521f1af;p=pandora-kernel.git ath9k: Fix bug in retrieving average beacon rssi Currently the beacon rssi that LPF gives is divided and rounded up by ATH_RSSI_EP_MULTIPLIER twice. This will leave the incorrect rssi in ANI. Having correct rssi in ANI fixes the connection stability at < 30dB rssi range. This patch removes the unncessary computation of average rssi over already valid average rssi. Also removes the redundant macros to find average rssi. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: John W. Linville --- Reading git-diff-tree failed