diff options
author | sam <sam@FreeBSD.org> | 2005-01-24 19:32:10 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-01-24 19:32:10 +0000 |
commit | 459bcc3dba08670eaf93dc7b8024a4b60531c5fc (patch) | |
tree | f5f89d2432bd0c441a8317125fb32932cc73df3d /sys/net80211/ieee80211_var.h | |
parent | 945d03f4178b75dc99b58838b671f60dc40fe1dc (diff) | |
download | FreeBSD-src-459bcc3dba08670eaf93dc7b8024a4b60531c5fc.zip FreeBSD-src-459bcc3dba08670eaf93dc7b8024a4b60531c5fc.tar.gz |
statically allocate the station/neighbor node table; the deferred
allocation scheme introduced a race condition during device state
transitions
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r-- | sys/net80211/ieee80211_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |