From 459bcc3dba08670eaf93dc7b8024a4b60531c5fc Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 24 Jan 2005 19:32:10 +0000 Subject: statically allocate the station/neighbor node table; the deferred allocation scheme introduced a race condition during device state transitions --- sys/net80211/ieee80211_var.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net80211/ieee80211_var.h') diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index 790bcdc..e6e5e70 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -114,7 +114,7 @@ struct ieee80211com { enum ieee80211_state ic_state; /* 802.11 state */ enum ieee80211_protmode ic_protmode; /* 802.11g protection mode */ enum ieee80211_roamingmode ic_roaming; /* roaming mode */ - struct ieee80211_node_table *ic_sta; /* stations/neighbors */ + struct ieee80211_node_table ic_sta; /* stations/neighbors */ u_int32_t *ic_aid_bitmap; /* association id map */ u_int16_t ic_max_aid; u_int16_t ic_sta_assoc; /* stations associated */ -- cgit v1.1