Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> --- net/mac80211/cfg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 5c61677..a5d4361 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -998,8 +998,10 @@ static int ieee80211_stop_ap(struct wiphy *wiphy, struct net_device *dev) old_probe_resp = rtnl_dereference(sdata->u.ap.probe_resp); /* turn off carrier for this interface and dependent VLANs */ - list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) + list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) { + sta_info_flush(local, vlan); netif_carrier_off(vlan->dev); + } netif_carrier_off(dev); /* remove beacon and probe response */ -- 1.7.12.2 -- 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