Example #1
0
void
wlan_node_table_cleanup(struct ieee80211_node_table *nt)
{
    A_UNTIMEOUT(&nt->nt_inact_timer);
    wlan_free_allnodes(nt);
    IEEE80211_NODE_LOCK_DESTROY(nt);
}
Example #2
0
void
wlan_node_table_cleanup(struct ieee80211_node_table *nt)
{
    wlan_free_allnodes(nt);
    IEEE80211_NODE_LOCK_DESTROY(nt);
    IEEE80211_SCAN_REPORT_LOCK_DESTROY(nt);
}
Example #3
0
void
wlan_node_table_cleanup(struct ieee80211_node_table *nt)
{
    wmi_scan_report_lock(nt->nt_wmip);
    wlan_free_allnodes(nt);
    wmi_scan_report_unlock(nt->nt_wmip);
    IEEE80211_NODE_LOCK_DESTROY(nt);
    IEEE80211_SCAN_REPORT_LOCK_DESTROY(nt);
}
Example #4
0
void
ieee80211_node_detach(struct ifnet *ifp)
{
	struct ieee80211com *ic = (void *)ifp;

	if (ic->ic_bss != NULL) {
		(*ic->ic_node_free)(ic, ic->ic_bss);
		ic->ic_bss = NULL;
	}
	ieee80211_free_allnodes(ic);
	IEEE80211_NODE_LOCK_DESTROY(ic);
	if (ic->ic_aid_bitmap != NULL)
		FREE(ic->ic_aid_bitmap, M_DEVBUF);
}