diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index b1b1bb3..f773dbb 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -1144,9 +1144,8 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata, changed |= BSS_CHANGED_BSSID | BSS_CHANGED_HT; ieee80211_bss_info_change_notify(sdata, changed); - /* remove AP and TDLS peers */ if (remove_sta) - sta_info_flush(local, sdata); + sta_info_destroy_addr(sdata, bssid); del_timer_sync(&sdata->u.mgd.conn_mon_timer); del_timer_sync(&sdata->u.mgd.bcn_mon_timer);