aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-12-21 19:27:59 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-21 19:49:02 (GMT)
commit0fb292c08e2fa44eefbc56fb8674ace7e4be8bd0 (patch)
treedfe44425011c2a75d5c4b66cd02c028376d09d1f /wpa_supplicant
parent8ec7c99ee4c6b4aefd762cf2a47c0c6367d8f777 (diff)
downloadhostap-0fb292c08e2fa44eefbc56fb8674ace7e4be8bd0.zip
hostap-0fb292c08e2fa44eefbc56fb8674ace7e4be8bd0.tar.gz
hostap-0fb292c08e2fa44eefbc56fb8674ace7e4be8bd0.tar.bz2
Add SAE to GET_CAPABILITY key_mgmt
Provide information about SAE AKM support in "GET_CAPABILITY key_mgmt" for completeness. The "GET_CAPABILITY auth_alg" case is already providing information about SAE support through user space SME. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/ctrl_iface.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index be976a6..ebc232f 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -3988,6 +3988,14 @@ static int ctrl_iface_get_capability_key_mgmt(int res, char *strict,
}
#endif /* CONFIG_IEEE80211R */
#endif /* CONFIG_FILS */
+#ifdef CONFIG_SAE
+ if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_SAE) {
+ ret = os_snprintf(pos, end - pos, " SAE");
+ if (os_snprintf_error(end - pos, ret))
+ return pos - buf;
+ pos += ret;
+ }
+#endif /* CONFIG_SAE */
return pos - buf;
}