2011/12/2 Felix Fietkau <nbd@xxxxxxxxxxx>: > On 2011-11-30 9:46 PM, Nikolay Martynov wrote: >> diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c >> index 0b9a0e8..391d59c 100644 >> --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c >> +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c >> @@ -808,7 +808,8 @@ void ath9k_htc_ani_work(struct work_struct *work) >> } >> >> /* Verify whether we must check ANI */ >> - if ((timestamp - common->ani.checkani_timer) >= ATH_ANI_POLLINTERVAL) { >> + if (sc->sc_ah->config.enable_ani && >> + (timestamp - common->ani.checkani_timer) >= ATH_ANI_POLLINTERVAL) { >> aniflag = true; >> common->ani.checkani_timer = timestamp; >> } > Does not compile, there is no 'sc' variable, use ah->config.enable_ani. Hmm... weird that it didn't fail when I applied this to openwrt. Anyway, thanks for letting me know, I'll send an updated patch! -- Truthfully yours, Martynov Nikolay. Email: mar.kolya@xxxxxxxxx -- 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