summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-06-10 04:37:05 +0000
committersam <sam@FreeBSD.org>2005-06-10 04:37:05 +0000
commitd6dd7e9d2a431458ec536daf8470a1d7843ea155 (patch)
tree124947e942262230643bab9a06ab6dccc928475c /sys
parent7e72895a6534d348287f191f817595a9e6260bd5 (diff)
downloadFreeBSD-src-d6dd7e9d2a431458ec536daf8470a1d7843ea155.zip
FreeBSD-src-d6dd7e9d2a431458ec536daf8470a1d7843ea155.tar.gz
accept diassoc frame in ASSOC state
Diffstat (limited to 'sys')
-rw-r--r--sys/net80211/ieee80211_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c
index 7345c89..3812d50 100644
--- a/sys/net80211/ieee80211_input.c
+++ b/sys/net80211/ieee80211_input.c
@@ -2513,6 +2513,7 @@ ieee80211_recv_mgmt(struct ieee80211com *ic, struct mbuf *m0,
u_int16_t reason;
if (ic->ic_state != IEEE80211_S_RUN &&
+ ic->ic_state != IEEE80211_S_ASSOC &&
ic->ic_state != IEEE80211_S_AUTH) {
ic->ic_stats.is_rx_mgtdiscard++;
return;
OpenPOWER on IntegriCloud