ath9k: Remove CHANNEL_CW_INT handling in ath9k_hw_calibrate
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 13 Apr 2009 16:27:01 +0000 (21:57 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:47 +0000 (16:54 -0400)
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>
drivers/net/wireless/ath/ath9k/calib.c

index 08f690279789ba32609b24f925eda6ae1ef3893b..a197041d76b57ce2008982e2e6ac9188ce3f2469 100644 (file)
@@ -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;