ath9k: Configure btcoex register during every reset
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Wed, 26 Aug 2009 15:38:45 +0000 (21:08 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:49 +0000 (14:40 -0400)
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 <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index c3ecc7ee2ac0d4baccbb7c827bcb6c4ef92e4519..d7e03f9788c0bb6e023ae0a6a86f1fb0b2de7963 100644 (file)
@@ -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;
 }