diff options
author | James Prestwood <prestwoj@gmail.com> | 2023-11-17 06:12:25 -0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2023-11-17 09:48:58 -0600 |
commit | 6afda046c2947542832b953e10f08addafbbc433 (patch) | |
tree | 8964345e9a3806dc4b243c5c63264830a0f6e86c | |
parent | 87055f5a021883d0690ad736ca31ae8850aab82e (diff) |
dpp: include 3rd party settings in network profile
If the configuration object contained IWD's 3rd party settings set
those into the network profile.
-rw-r--r-- | src/dpp.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |