summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/gpio.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-02-22 12:40:49 +0530
committerJohn W. Linville <linville@tuxdriver.com>2012-02-27 14:06:35 -0500
commitd68475de9637a476ad8e5870060ccc69a80f2299 (patch)
tree40ba3e45ff194ca87bbd9c768a10e04ddbfd6057 /drivers/net/wireless/ath/ath9k/gpio.c
parent4daa7760e2da9324e740f7d872970fa91c8ea6f0 (diff)
downloadlinux-3.10-d68475de9637a476ad8e5870060ccc69a80f2299.tar.gz
linux-3.10-d68475de9637a476ad8e5870060ccc69a80f2299.tar.bz2
linux-3.10-d68475de9637a476ad8e5870060ccc69a80f2299.zip
ath9k: Initialize BTCOEX scheme using a helper
Setting up the required scheme can be done as part of the BTCOEX initialization path and it doesn't belong in ath9k_hw_fill_cap_info() anyway. 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/gpio.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/gpio.c b/drivers/net/wireless/ath/ath9k/gpio.c
index 77b3eb7b7a3..4da486bccfa 100644
--- a/drivers/net/wireless/ath/ath9k/gpio.c
+++ b/drivers/net/wireless/ath/ath9k/gpio.c
@@ -391,6 +391,8 @@ int ath9k_init_btcoex(struct ath_softc *sc)
struct ath_hw *ah = sc->sc_ah;
int r;
+ ath9k_hw_btcoex_init_scheme(ah);
+
switch (ath9k_hw_get_btcoex_scheme(sc->sc_ah)) {
case ATH_BTCOEX_CFG_NONE:
break;