aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-06-04 16:27:14 +0530
committerJohn W. Linville <linville@tuxdriver.com>2012-06-06 15:20:24 -0400
commitd09f5f4cfb9f4c6aa8c18ea522e824660d4096d7 (patch)
tree0290173220d78b85f3e8b34bc9bf9ae04dc3e35f /drivers/net/wireless/ath/ath9k/init.c
parentath9k: Prune ath9k_init_device (diff)
downloadlinux-dev-d09f5f4cfb9f4c6aa8c18ea522e824660d4096d7.tar.xz
linux-dev-d09f5f4cfb9f4c6aa8c18ea522e824660d4096d7.zip
ath9k: Handle ASPM properly
ASPM has to be disabled when BTCOEX is in use, do this properly by calling the bus-specific ASPM init routine after the BTCOEX scheme has been determined. 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/init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 3e2283970ee3..9dfce1a69c73 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -597,6 +597,9 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc,
ath9k_cmn_init_crypto(sc->sc_ah);
ath9k_init_misc(sc);
+ if (common->bus_ops->aspm_init)
+ common->bus_ops->aspm_init(common);
+
return 0;
err_btcoex: