On Wed, Jul 15, 2009 at 8:58 AM, Joe Perches<joe@xxxxxxxxxxx> wrote: > 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) 928X is not needed in this case as there is some other chipset AR9285 which has different capabilities compared to AR9280 and AR9287. Vivek. -- 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