On Tue, 2010-06-08 at 16:05 +0300, Juuso Oikarinen wrote: > + promisc = sdata->flags & IEEE80211_SDATA_PROMISC; > + if (promisc) > + bss_conf->arp_filter_enabled = 0; > + else > + bss_conf->arp_filter_enabled = sdata->arp_filter_state; bss_conf->arp_filter_enabled = !promisc && sdata->arp_filter_state; ? Or if not, use false instead of 0 please. johannes -- 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