3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

network: set Hidden=true for new hidden networks

This commit is contained in:
Denis Kenzior 2018-07-11 16:09:42 -05:00
parent d744915534
commit 87108984bc

View File

@ -1009,6 +1009,9 @@ void network_connect_new_hidden_network(struct network *network,
goto reply_error;
}
network->settings = l_settings_new();
l_settings_set_bool(network->settings, "Settings", "Hidden", true);
switch (network_get_security(network)) {
case SECURITY_PSK:
error = network_connect_psk(network, bss, message);