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:
parent
9252d23358
commit
42c5d96219
|
@ -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:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue