aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.c
diff options
context:
space:
mode:
authorAnton Nayshtut <qca_antonn@qca.qualcomm.com>2014-11-16 17:28:53 +0200
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:19:34 -0600
commit0d7a0aa9ffb9c988538e3079cc40f25531b8928b (patch)
treed4cab07e2a06525ebc52361a54c51faa94a984fa /wpa_supplicant/scan.c
parent5f0259f410374e4e6622e55237cce1c4ed3468f0 (diff)
downloadandroid_external_wpa_supplicant_8-0d7a0aa9ffb9c988538e3079cc40f25531b8928b.tar.gz
android_external_wpa_supplicant_8-0d7a0aa9ffb9c988538e3079cc40f25531b8928b.tar.bz2
android_external_wpa_supplicant_8-0d7a0aa9ffb9c988538e3079cc40f25531b8928b.zip
FST: Integration into wpa_supplicant
This commit integrates the FST into the wpa_supplicant. Change-Id: I68d9af4bdadcbf95be0dc84abe09dd55d1b067ae Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: b36a3a65aa35dd40ffad12d90629e683d4ae7db8 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 891455
Diffstat (limited to 'wpa_supplicant/scan.c')
-rw-r--r--wpa_supplicant/scan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c
index e81465c5..00d2b5e1 100644
--- a/wpa_supplicant/scan.c
+++ b/wpa_supplicant/scan.c
@@ -485,6 +485,12 @@ static struct wpabuf * wpa_supplicant_extra_ies(struct wpa_supplicant *wpa_s)
wpas_hs20_add_indication(extra_ie, -1);
#endif /* CONFIG_HS20 */
+#ifdef CONFIG_FST
+ if (wpa_s->fst_ies &&
+ wpabuf_resize(&extra_ie, wpabuf_len(wpa_s->fst_ies)) == 0)
+ wpabuf_put_buf(extra_ie, wpa_s->fst_ies);
+#endif /* CONFIG_FST */
+
return extra_ie;
}