mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ath9k_hw: fix regression in ANI listen time calculation
wireless-testing
commit 37e5bf6535
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>
This commit is contained in:
parent
e7ee762cf0
commit
918df629d6
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ static u8 ath9k_hw_chan_2_clockrate_mhz(struct ath_hw *ah)
|
||||||
if (conf_is_ht40(conf))
|
if (conf_is_ht40(conf))
|
||||||
return clockrate * 2;
|
return clockrate * 2;
|
||||||
|
|
||||||
return clockrate * 2;
|
return clockrate;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t ath9k_hw_ani_get_listen_time(struct ath_hw *ah)
|
static int32_t ath9k_hw_ani_get_listen_time(struct ath_hw *ah)
|
||||||
|
|
Loading…
Add table
Reference in a new issue