summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2014-08-27 12:07:23 +0530
committerJohn W. Linville <linville@tuxdriver.com>2014-08-28 14:49:39 -0400
commit9ea3598b225d9ffbeee65eb0a967bd0746ba1b97 (patch)
tree9541caac5d1fae62ae67049bb2f8fd60582310af
parentac0372abf8524a7572a9cdaac6495eb2eba20457 (diff)
downloadlinux-9ea3598b225d9ffbeee65eb0a967bd0746ba1b97.tar.gz
linux-9ea3598b225d9ffbeee65eb0a967bd0746ba1b97.tar.bz2
linux-9ea3598b225d9ffbeee65eb0a967bd0746ba1b97.zip
ath9k: Disable fastcc for channel context mode
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 2fcafa6f4eb9..b823b5ac3490 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -303,6 +303,9 @@ int ath_reset_internal(struct ath_softc *sc, struct ath9k_channel *hchan)
if (!ath_prepare_reset(sc))
fastcc = false;
+ if (ath9k_is_chanctx_enabled())
+ fastcc = false;
+
spin_lock_bh(&sc->chan_lock);
sc->cur_chandef = sc->cur_chan->chandef;
spin_unlock_bh(&sc->chan_lock);