diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-10-03 19:07:19 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-06 15:58:28 -0400 |
commit | 918df629d6a558ab9eb53350493f618812239a4c (patch) | |
tree | ce6b9e90bbfc188f51ff210ebe54c1853c7da7ca /drivers/net | |
parent | e7ee762cf074b0fd8eec483d0cef8fdbf0d04b81 (diff) | |
download | kernel_goldelico_gta04-918df629d6a558ab9eb53350493f618812239a4c.zip kernel_goldelico_gta04-918df629d6a558ab9eb53350493f618812239a4c.tar.gz kernel_goldelico_gta04-918df629d6a558ab9eb53350493f618812239a4c.tar.bz2 |
ath9k_hw: fix regression in ANI listen time calculation
wireless-testing
commit 37e5bf6535a4d697fb9fa6f268a8354a612cbc00
Author: Luis R. Rodriguez <lrodriguez@atheros.com>
Date: Sat Jun 12 00:33:40 2010 -0400
ath9k_hw: fix clock rate calculations for ANI
This commit accidentally broke clock rate calculation by doubling the
calculated clock rate
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ani.c | 2 |
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 cc648b6..a3d95cc 100644 --- a/drivers/net/wireless/ath/ath9k/ani.c +++ b/drivers/net/wireless/ath/ath9k/ani.c @@ -543,7 +543,7 @@ static u8 ath9k_hw_chan_2_clockrate_mhz(struct ath_hw *ah) if (conf_is_ht40(conf)) return clockrate * 2; - return clockrate * 2; + return clockrate; } static int32_t ath9k_hw_ani_get_listen_time(struct ath_hw *ah) |