summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2016-04-09 21:57:34 +0000
committeradrian <adrian@FreeBSD.org>2016-04-09 21:57:34 +0000
commitaa8d56fcef79e9484f85dbb306b909cb0b78018a (patch)
tree49dc6aff2af3487018d41f7327521275ef963569 /sys/net80211
parentaa42ac0ef56e414b8acc167fa71c786c75af2a2c (diff)
downloadFreeBSD-src-aa8d56fcef79e9484f85dbb306b909cb0b78018a.zip
FreeBSD-src-aa8d56fcef79e9484f85dbb306b909cb0b78018a.tar.gz
[net80211] add back in the ff/superg node init call that I accidentally
deleted. It's mostly a no-op right now, so it shouldn't have changed behaviour.
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_sta.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_sta.c b/sys/net80211/ieee80211_sta.c
index 9c1707b..d80c767 100644
--- a/sys/net80211/ieee80211_sta.c
+++ b/sys/net80211/ieee80211_sta.c
@@ -1706,6 +1706,14 @@ sta_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype,
}
/*
+ * Always initialise FF/superg state; we can use this
+ * for doing A-MSDU encapsulation as well.
+ */
+#ifdef IEEE80211_SUPPORT_SUPERG
+ ieee80211_ff_node_init(ni);
+#endif
+
+ /*
* Configure state now that we are associated.
*
* XXX may need different/additional driver callbacks?
OpenPOWER on IntegriCloud