On Mon, Jan 07, 2013 at 01:53:48PM +0530, Sujith Manoharan wrote: > From: Sujith Manoharan <c_manoha@xxxxxxxxxxxxxxxx> > > Signed-off-by: Sujith Manoharan <c_manoha@xxxxxxxxxxxxxxxx> > --- > drivers/net/wireless/ath/ath9k/ar9003_calib.c | 92 ++++++++++++++++----------- > drivers/net/wireless/ath/ath9k/hw.h | 1 + > 2 files changed, 55 insertions(+), 38 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath9k/ar9003_calib.c b/drivers/net/wireless/ath/ath9k/ar9003_calib.c > index 15f9b89..f0e472c 100644 > --- a/drivers/net/wireless/ath/ath9k/ar9003_calib.c > +++ b/drivers/net/wireless/ath/ath9k/ar9003_calib.c > @@ -960,22 +960,68 @@ static void ar9003_hw_manual_peak_cal(struct ath_hw *ah, u8 chain, bool is_2g) > AR_PHY_65NM_RXRF_AGC_AGC_CAL_OVR, 0); > } > > +static void ar9003_hw_do_manual_peak_cal(struct ath_hw *ah, > + struct ath9k_channel *chan) > +{ > + int i; > + > + if (!AR_SREV_9462(ah) || !AR_SREV_9565(ah)) > + return; > + It should be && not || -Rajkumar -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html