2009-04-13 16:31:26

by Sujith

[permalink] [raw]
Subject: [PATCH 11/11] ath9k: Remove CHANNEL_CW_INT handling in ath9k_hw_calibrate

It is already handled properly in ath9k_hw_getnf.

Signed-off-by: Sujith <[email protected]>
---
drivers/net/wireless/ath/ath9k/calib.c | 3 ---
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 08f6902..a197041 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;
--
1.6.2.2