network: load settings for the open networks

iwd was auto-connecting to the open networks despite having
Autoconnect=false flag set in the network configuration file.
This patch enables iwd to load the configuration files for the
open networks during the auto-connect attempt to take advantage
of the Autoconnect flag.
This commit is contained in:
Tim Kourt 2018-05-10 10:34:29 -07:00 committed by Denis Kenzior
parent 9252d23358
commit 42c5d96219
1 changed files with 1 additions and 0 deletions

View File

@ -429,6 +429,7 @@ int network_autoconnect(struct network *network, struct scan_bss *bss)
switch (network_get_security(network)) {
case SECURITY_NONE:
network_settings_load(network);
break;
case SECURITY_PSK:
{