]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ath9k: Disable fastcc for channel context mode
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 27 Aug 2014 06:37:23 +0000 (12:07 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Aug 2014 18:49:39 +0000 (14:49 -0400)
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c

index 2fcafa6f4eb9960c8c444b449c396f9bbfc6214c..b823b5ac3490bd1b0c751f4c0946190d3c5af236 100644 (file)
@@ -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);