Message ID | 20231117141227.60722-2-prestwoj@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | [1/4] dpp-util: add support for 3rd party JSON fields | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | fail | error: patch failed: src/dpp.c:837 error: src/dpp.c: patch does not apply hint: Use 'git am --show-current-patch' to see the failed patch |
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);