summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-04-13 18:27:01 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 22:54:47 +0200
commit386aeacfa8912e1accffc47e30ffe0c0ecfe71e5 (patch)
tree3ffb9c84c3ee3329f8fc41a7cf2c9a8dda70af9c /drivers/net/wireless/ath
parentath9k: Fix bug in calibration initialization (diff)
downloadlinux-386aeacfa8912e1accffc47e30ffe0c0ecfe71e5.tar.xz
linux-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')
-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;