aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-06-22 11:51:21 (GMT)
committerJouni Malinen <j@w1.fi>2017-06-22 11:51:21 (GMT)
commit6a7182a9c3c0a6ea4710ee42bd19f2de7ebd7bdc (patch)
tree6a029f48477331f1fbcb3ecbb6be740cdf662078 /wpa_supplicant/ctrl_iface.c
parentcd29045bb29c3ddc0a22d1c8c286b21590d141cb (diff)
downloadhostap-6a7182a9c3c0a6ea4710ee42bd19f2de7ebd7bdc.zip
hostap-6a7182a9c3c0a6ea4710ee42bd19f2de7ebd7bdc.tar.gz
hostap-6a7182a9c3c0a6ea4710ee42bd19f2de7ebd7bdc.tar.bz2
DPP: Add DPP_BOOTSTRAP_INFO command
This can be used to fetch parsed details on bootstrapping information. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/ctrl_iface.c')
-rw-r--r--wpa_supplicant/ctrl_iface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index 61ea639..c088aa2 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -10226,6 +10226,9 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s,
if (os_snprintf_error(reply_size, reply_len))
reply_len = -1;
}
+ } else if (os_strncmp(buf, "DPP_BOOTSTRAP_INFO ", 19) == 0) {
+ reply_len = wpas_dpp_bootstrap_info(wpa_s, atoi(buf + 19),
+ reply, reply_size);
} else if (os_strncmp(buf, "DPP_AUTH_INIT ", 14) == 0) {
if (wpas_dpp_auth_init(wpa_s, buf + 13) < 0)
reply_len = -1;