aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-08-07 12:29:27 +0530
committerJohn W. Linville <linville@tuxdriver.com>2013-08-09 15:58:26 -0400
commit7d845871ffcafee22889c286ff3f1fb1f64be0c0 (patch)
tree8c7389d63845b7f318249ae7e430cff69e4613f3 /drivers/net/wireless/ath
parentf89d1bc4271153ac7864051778c0f2443e5cf2cd (diff)
downloadkernel_goldelico_gta04-7d845871ffcafee22889c286ff3f1fb1f64be0c0.zip
kernel_goldelico_gta04-7d845871ffcafee22889c286ff3f1fb1f64be0c0.tar.gz
kernel_goldelico_gta04-7d845871ffcafee22889c286ff3f1fb1f64be0c0.tar.bz2
ath9k: Fix BTCOEX usage for RX diversity
BTCOEX has to be *disabled* for WLAN RX diversity to work on combo cards. 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')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 4afe30e..3b56c2e 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -645,11 +645,11 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc,
/*
* Enable WLAN/BT RX Antenna diversity only when:
*
- * - BTCOEX is enabled
+ * - BTCOEX is disabled.
* - the user manually requests the feature.
* - the HW cap is set using the platform data.
*/
- if (common->btcoex_enabled && ath9k_bt_ant_diversity &&
+ if (!common->btcoex_enabled && ath9k_bt_ant_diversity &&
(pCap->hw_caps & ATH9K_HW_CAP_BT_ANT_DIV))
common->bt_ant_diversity = 1;