aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4afe30e0bf49..3b56c2e7efe7 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,
645 /* 645 /*
646 * Enable WLAN/BT RX Antenna diversity only when: 646 * Enable WLAN/BT RX Antenna diversity only when:
647 * 647 *
648 * - BTCOEX is enabled 648 * - BTCOEX is disabled.
649 * - the user manually requests the feature. 649 * - the user manually requests the feature.
650 * - the HW cap is set using the platform data. 650 * - the HW cap is set using the platform data.
651 */ 651 */
652 if (common->btcoex_enabled && ath9k_bt_ant_diversity && 652 if (!common->btcoex_enabled && ath9k_bt_ant_diversity &&
653 (pCap->hw_caps & ATH9K_HW_CAP_BT_ANT_DIV)) 653 (pCap->hw_caps & ATH9K_HW_CAP_BT_ANT_DIV))
654 common->bt_ant_diversity = 1; 654 common->bt_ant_diversity = 1;
655 655