aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2012-09-12 09:29:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-09-24 14:59:06 -0400
commit88033318e119bbf4647db4d50ad549fc86e0acf0 (patch)
treec5a0e729243683a4c6d96c051e15dc004feece40 /drivers
parent215999f38017e8e26791fafc60631b4099ee04ea (diff)
ath9k_hw: move 2g5g switch before nfcal start
During fast channel change, perform 2g5g_switch before starting noisefloor calibration to avoid nfload timeout. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 99cab44d2312..c40e901c2bf8 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -1733,12 +1733,12 @@ static int ath9k_hw_do_fastcc(struct ath_hw *ah, struct ath9k_channel *chan)
1733 if (!ret) 1733 if (!ret)
1734 goto fail; 1734 goto fail;
1735 1735
1736 ath9k_hw_loadnf(ah, ah->curchan);
1737 ath9k_hw_start_nfcal(ah, true);
1738
1739 if (ath9k_hw_mci_is_enabled(ah)) 1736 if (ath9k_hw_mci_is_enabled(ah))
1740 ar9003_mci_2g5g_switch(ah, false); 1737 ar9003_mci_2g5g_switch(ah, false);
1741 1738
1739 ath9k_hw_loadnf(ah, ah->curchan);
1740 ath9k_hw_start_nfcal(ah, true);
1741
1742 if (AR_SREV_9271(ah)) 1742 if (AR_SREV_9271(ah))
1743 ar9002_hw_load_ani_reg(ah, chan); 1743 ar9002_hw_load_ani_reg(ah, chan);
1744 1744