aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-03-13 09:46:30 (GMT)
committerJouni Malinen <j@w1.fi>2017-03-13 09:46:30 (GMT)
commit31e130f82ca0a537fa19ade311a6bfaf1e4215c9 (patch)
tree3ceec9e1e5b4af909f6e98b550393a733df05c4e /wpa_supplicant/ctrl_iface.c
parent133439b89ac7239f81d83220feaa0da023b306ff (diff)
downloadhostap-31e130f82ca0a537fa19ade311a6bfaf1e4215c9.zip
hostap-31e130f82ca0a537fa19ade311a6bfaf1e4215c9.tar.gz
hostap-31e130f82ca0a537fa19ade311a6bfaf1e4215c9.tar.bz2
FILS: Add FILS-SK-PFS capability into "GET_CAPABILITY fils" command
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/ctrl_iface.c')
-rw-r--r--wpa_supplicant/ctrl_iface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index cadcd10..0a4ae98 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -4175,7 +4175,11 @@ static int wpa_supplicant_ctrl_iface_get_capability(
#ifdef CONFIG_FILS
if (os_strcmp(field, "fils") == 0 &&
(wpa_s->drv_flags & WPA_DRIVER_FLAGS_SUPPORT_FILS)) {
+#ifdef CONFIG_FILS_SK_PFS
+ res = os_snprintf(buf, buflen, "FILS FILS-SK-PFS");
+#else /* CONFIG_FILS_SK_PFS */
res = os_snprintf(buf, buflen, "FILS");
+#endif /* CONFIG_FILS_SK_PFS */
if (os_snprintf_error(buflen, res))
return -1;
return res;