diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-14 18:03:37 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-18 15:23:21 -0500 |
commit | 168c6f89a27b605fb7dc3e1572ee5b2a6f56c935 (patch) | |
tree | e57f485098bccac408eda99813b1fab377ba06d3 /drivers/net/wireless/ath/ath9k/mci.c | |
parent | e45e91d8812c1cd4dac98efd6fb6d0dd27fa3d4a (diff) | |
download | talos-obmc-linux-168c6f89a27b605fb7dc3e1572ee5b2a6f56c935.tar.gz talos-obmc-linux-168c6f89a27b605fb7dc3e1572ee5b2a6f56c935.zip |
ath9k_hw: use a software timer for btcoex no_stomp_timer
TSF accuracy is not needed here, and there is only one usable generic
timer that is supported by all chips and uses the primary TSF counter.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mci.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mci.c b/drivers/net/wireless/ath/ath9k/mci.c index 0ac1b5f04256..71799fcade54 100644 --- a/drivers/net/wireless/ath/ath9k/mci.c +++ b/drivers/net/wireless/ath/ath9k/mci.c @@ -200,7 +200,7 @@ skip_tuning: if (btcoex->duty_cycle > ATH_MCI_MAX_DUTY_CYCLE) btcoex->duty_cycle = ATH_MCI_MAX_DUTY_CYCLE; - btcoex->btcoex_no_stomp = btcoex->btcoex_period * 1000 * + btcoex->btcoex_no_stomp = btcoex->btcoex_period * (100 - btcoex->duty_cycle) / 100; ath9k_hw_btcoex_enable(sc->sc_ah); |