ath9k: Remove unnecessary check
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 15 Nov 2013 05:35:38 +0000 (11:05 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Dec 2013 19:24:58 +0000 (14:24 -0500)
TX IQ calibration is always enabled for SoC chips.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_calib.c

index 2824824..347b002 100644 (file)
@@ -1252,8 +1252,7 @@ static bool ar9003_hw_init_cal_soc(struct ath_hw *ah,
                }
        }
 
-       if ((IS_CHAN_HALF_RATE(chan) || IS_CHAN_QUARTER_RATE(chan)) ||
-           !(ah->enabled_cals & TX_IQ_CAL))
+       if (IS_CHAN_HALF_RATE(chan) || IS_CHAN_QUARTER_RATE(chan))
                goto skip_tx_iqcal;
 
        /* Do Tx IQ Calibration */