From: Vasanthakumar Thiagarajan Date: Wed, 26 Aug 2009 15:38:45 +0000 (+0530) Subject: ath9k: Configure btcoex register during every reset X-Git-Tag: MMI-PSA29.97-13-9~26976^2~275^2~37 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42cc41edf24b75fc6c37c99aed6e85455687e080;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ath9k: Configure btcoex register during every reset Make sure btcoex register configured with appropriate values after it is initialized with the default values from initvals.h during reset. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index c3ecc7ee2ac0..d7e03f9788c0 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -2555,6 +2555,9 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, #endif } + if (ah->ah_sc->sc_flags & SC_OP_BTCOEX_ENABLED) + ath9k_hw_btcoex_enable(ah); + return 0; }