On Wed, 2009-07-15 at 08:54 +0530, Vivek Natarajan wrote: > Signed-off-by: Vivek Natarajan <vnatarajan@xxxxxxxxxxx> > diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c > index 1f0c5fe..d1bbb02 100644 > --- a/drivers/net/wireless/ath/ath9k/calib.c > +++ b/drivers/net/wireless/ath/ath9k/calib.c > @@ -116,7 +116,7 @@ static void ath9k_hw_do_getnf(struct ath_hw *ah, > "NF calibrated [ctl] [chain 1] is %d\n", nf); > nfarray[1] = nf; > > - if (!AR_SREV_9280(ah)) { > + if (!AR_SREV_9280(ah) && !AR_SREV_9287(ah)) { This looks like it needs a helper function like IS_AR_SREV_928x(ah) > + if (!AR_SREV_9280(ah) && !AR_SREV_9287(ah)) { > + else if (AR_SREV_9280(ah) || AR_SREV_9287(ah)) > + if (OLC_FOR_AR9280_20_LATER || OLC_FOR_AR9287_10_LATER) etc -- 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