aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2019-02-05 21:06:44 (GMT)
committerJouni Malinen <j@w1.fi>2019-02-05 21:37:55 (GMT)
commit73f285dad2be669f3220e4cca456293c8fc30293 (patch)
tree5261ddec8ee5db26ff54194e2718f2d9a4c8dd67 /wpa_supplicant
parentcdc23db2a6db6b1aca25f9a89f355ff499f7b75a (diff)
downloadhostap-73f285dad2be669f3220e4cca456293c8fc30293.zip
hostap-73f285dad2be669f3220e4cca456293c8fc30293.tar.gz
hostap-73f285dad2be669f3220e4cca456293c8fc30293.tar.bz2
Add FT-PSK to GET_CAPABILITY key_mgmt
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
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 7882dcf..a0db9e4 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -3994,6 +3994,14 @@ static int ctrl_iface_get_capability_key_mgmt(int res, char *strict,
}
#endif /* CONFIG_IEEE80211R */
#endif /* CONFIG_FILS */
+#ifdef CONFIG_IEEE80211R
+ if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_FT_PSK) {
+ ret = os_snprintf(pos, end - pos, " FT-PSK");
+ if (os_snprintf_error(end - pos, ret))
+ return pos - buf;
+ pos += ret;
+ }
+#endif /* CONFIG_IEEE80211R */
#ifdef CONFIG_SAE
if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_SAE) {
ret = os_snprintf(pos, end - pos, " SAE");