summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/calib.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-04-13 21:57:01 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:47 -0400
commit386aeacfa8912e1accffc47e30ffe0c0ecfe71e5 (patch)
tree3ffb9c84c3ee3329f8fc41a7cf2c9a8dda70af9c /drivers/net/wireless/ath/ath9k/calib.c
parent04d19ddd254b404703151ab25aa5041e50ff40f7 (diff)
downloadlinux-stable-386aeacfa8912e1accffc47e30ffe0c0ecfe71e5.tar.gz
linux-stable-386aeacfa8912e1accffc47e30ffe0c0ecfe71e5.tar.bz2
linux-stable-386aeacfa8912e1accffc47e30ffe0c0ecfe71e5.zip
ath9k: Remove CHANNEL_CW_INT handling in ath9k_hw_calibrate
It is already handled properly in ath9k_hw_getnf. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/calib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c
index 08f690279789..a197041d76b5 100644
--- a/drivers/net/wireless/ath/ath9k/calib.c
+++ b/drivers/net/wireless/ath/ath9k/calib.c
@@ -871,9 +871,6 @@ bool ath9k_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan,
ath9k_hw_getnf(ah, chan);
ath9k_hw_loadnf(ah, ah->curchan);
ath9k_hw_start_nfcal(ah);
-
- if (chan->channelFlags & CHANNEL_CW_INT)
- chan->channelFlags &= ~CHANNEL_CW_INT;
}
return iscaldone;