ath9k: Configure btcoex register during every reset
Vasanthakumar Thiagarajan [Wed, 26 Aug 2009 15:38:45 +0000 (20:38 +0530)]
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 c3ecc7e..d7e03f9 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;
 }