aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-07-03 10:01:35 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-03 10:15:12 (GMT)
commit6b140f0fa24494b77ca8987c2bf27c9509f82fa6 (patch)
tree34a698a3de718a004e45cd0907b640ff900ab3d7 /hostapd
parent2605405aa4469fd9256440990ad9ba03f466f39c (diff)
downloadhostap-6b140f0fa24494b77ca8987c2bf27c9509f82fa6.zip
hostap-6b140f0fa24494b77ca8987c2bf27c9509f82fa6.tar.gz
hostap-6b140f0fa24494b77ca8987c2bf27c9509f82fa6.tar.bz2
DPP: Update hostapd configurator parameters to match wpa_supplicant
This updates the previously copied implementation to be up-to-date with the more recent wpa_supplicant changes. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/ctrl_iface.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c
index e5c7e99..5503f44 100644
--- a/hostapd/ctrl_iface.c
+++ b/hostapd/ctrl_iface.c
@@ -1325,6 +1325,11 @@ static int hostapd_ctrl_iface_set(struct hostapd_data *hapd, char *cmd)
* disallowing station logic.
*/
#endif /* CONFIG_MBO */
+#ifdef CONFIG_DPP
+ } else if (os_strcasecmp(cmd, "dpp_configurator_params") == 0) {
+ os_free(hapd->dpp_configurator_params);
+ hapd->dpp_configurator_params = os_strdup(value);
+#endif /* CONFIG_DPP */
} else {
struct sta_info *sta;
struct vlan_description vlan_id;