summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan2009-08-26 17:38:45 +0200
committerJohn W. Linville2009-08-28 20:40:49 +0200
commit42cc41edf24b75fc6c37c99aed6e85455687e080 (patch)
tree9ee650c950991c196abeb40f3bd6af28757086c5 /drivers
parentath9k: Move btcoex stuff from hw.[ch] to new btcoex.[ch] (diff)
downloadkernel-qcow2-linux-42cc41edf24b75fc6c37c99aed6e85455687e080.tar.gz
kernel-qcow2-linux-42cc41edf24b75fc6c37c99aed6e85455687e080.tar.xz
kernel-qcow2-linux-42cc41edf24b75fc6c37c99aed6e85455687e080.zip
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 <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c3
1 files changed, 3 insertions, 0 deletions
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;
}