aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ieee802_11.c
diff options
context:
space:
mode:
authorAnton Nayshtut <qca_antonn@qca.qualcomm.com>2015-01-21 13:30:48 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-16 15:26:15 (GMT)
commitae667c0827e1976cac75d13ef4fc5595fb7fc191 (patch)
tree0fbf976d4d8549482ed0af507e7d6765d3956a50 /src/ap/ieee802_11.c
parent104bef453b031e1bc202e6ccf8a000c2b3ef3340 (diff)
downloadhostap-ae667c0827e1976cac75d13ef4fc5595fb7fc191.zip
hostap-ae667c0827e1976cac75d13ef4fc5595fb7fc191.tar.gz
hostap-ae667c0827e1976cac75d13ef4fc5595fb7fc191.tar.bz2
FST: Store MB IEs from (Re)Association Request
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/ieee802_11.c')
-rw-r--r--src/ap/ieee802_11.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index db20c86..cd3975d 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -1535,6 +1535,14 @@ static u16 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta,
sta->hs20_ie = NULL;
#endif /* CONFIG_HS20 */
+#ifdef CONFIG_FST
+ wpabuf_free(sta->mb_ies);
+ if (hapd->iface->fst)
+ sta->mb_ies = mb_ies_by_info(&elems.mb_ies);
+ else
+ sta->mb_ies = NULL;
+#endif /* CONFIG_FST */
+
return WLAN_STATUS_SUCCESS;
}