From 6afda046c2947542832b953e10f08addafbbc433 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Fri, 17 Nov 2023 06:12:25 -0800 Subject: [PATCH] dpp: include 3rd party settings in network profile If the configuration object contained IWD's 3rd party settings set those into the network profile. --- src/dpp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dpp.c b/src/dpp.c index f8d76805..0064187b 100644 --- a/src/dpp.c +++ b/src/dpp.c @@ -837,6 +837,12 @@ static void dpp_write_config(struct dpp_configuration *config, network_set_psk(network, psk); } + if (config->send_hostname) + l_settings_set_bool(settings, "IPv4", "SendHostname", true); + + if (config->hidden) + l_settings_set_bool(settings, "Settings", "Hidden", true); + l_debug("Storing credential for '%s(%s)'", config->ssid, security_to_str(SECURITY_PSK)); storage_network_sync(SECURITY_PSK, config->ssid, settings);