> > @@ -497,6 +509,13 @@ static int ieee80211_stop(struct net_device *dev) > > } > > /* fall through */ > > default: > > + if (sdata->vif.type == NL80211_IFTYPE_AP) { > > I'd probably put this after a > case NL80211_IFTYPE_AP: > label but you need the if () anyway ... hmm I guess we really should > clean up this code and split it into two switch statements... And may be do it above? if (sdata->flags & IEEE80211_SDATA_ALLMULTI) atomic_dec(&local->iff_allmultis); if (sdata->flags & IEEE80211_SDATA_PROMISC) atomic_dec(&local->iff_promiscs); + if (sdata->vif.type == NL80211_IFTYPE_AP) + local->fif_pspoll--; + netif_addr_lock_bh(dev); spin_lock_bh(&local->filter_lock); __dev_addr_unsync(&local->mc_list, &local->mc_count, &dev->mc_list, &dev->mc_count); ieee80211_configure_filter(local); spin_unlock_bh(&local->filter_lock); netif_addr_unlock_bh(dev); Igor -- 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