diff options
author | Sujith Manoharan <c_manoha@qualcomm.com> | 2012-09-28 11:13:51 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-28 13:54:10 -0400 |
commit | 5160b46f3e53c41c4c6b9e7cdbe0401d3afbfb63 (patch) | |
tree | a0b4864bab2739f5c2658c0e3fa009222b988f1e /drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | |
parent | 5570a914f28f58de6839a4d532e98eb8167bd57d (diff) | |
download | linux-5160b46f3e53c41c4c6b9e7cdbe0401d3afbfb63.tar.gz linux-5160b46f3e53c41c4c6b9e7cdbe0401d3afbfb63.tar.bz2 linux-5160b46f3e53c41c4c6b9e7cdbe0401d3afbfb63.zip |
ath9k: Fix BTCOEX weight initialization
The WLAN/BT weights have to set correctly before BTCOEX
is initialized. Currently, this is not done for all chips
in the AR9003 family. This patch fixes this issue by setting
the weights in the init path. While at it, rename ar9462_wlan_weights
to mci_wlan_weights since it is common to both AR9462 and AR9565.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_gpio.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c b/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c index 8fd64a6f0eb9..0eacfc13c915 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c @@ -161,7 +161,7 @@ void ath9k_htc_start_btcoex(struct ath9k_htc_priv *priv) if (ath9k_hw_get_btcoex_scheme(ah) == ATH_BTCOEX_CFG_3WIRE) { ath9k_hw_btcoex_set_weight(ah, AR_BT_COEX_WGHT, - AR_STOMP_LOW_WLAN_WGHT); + AR_STOMP_LOW_WLAN_WGHT, 0); ath9k_hw_btcoex_enable(ah); ath_htc_resume_btcoex_work(priv); } |