ath9k_hw: Support fastcc for AR7010
authorRajkumar Manoharan <rmanoharan@atheros.com>
Wed, 8 Sep 2010 10:27:12 +0000 (15:57 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:03:43 +0000 (16:03 -0400)
To reduce scan time, enable fastcc for AR7010

(fastcc == fast channel change -- JWL)

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index afadade2a67ebbeae504ac439078266dc1a97587..0a61f426d7d7454ae59f9d7da9db580b2394307d 100644 (file)
@@ -1258,7 +1258,7 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
            (chan->channel != ah->curchan->channel) &&
            ((chan->channelFlags & CHANNEL_ALL) ==
             (ah->curchan->channelFlags & CHANNEL_ALL)) &&
-           !AR_SREV_9280(ah)) {
+           (!AR_SREV_9280(ah) || AR_DEVID_7010(ah))) {
 
                if (ath9k_hw_channel_change(ah, chan)) {
                        ath9k_hw_loadnf(ah, ah->curchan);