Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'jb50997' into 'master'
Emit connection created signal if loading form keyfile

See merge request mer-core/connman!296
  • Loading branch information
LaakkonenJussi committed Nov 4, 2020
2 parents 6f0081b + 642226f commit 8e611cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion connman/vpn/vpn-provider.c
Expand Up @@ -2423,9 +2423,12 @@ static struct vpn_provider *provider_create_from_keyfile(GKeyFile *keyfile,
return NULL;
}

if (provider_register(provider) == 0)
if (!provider_register(provider)) {
connection_register(provider);
connection_added_signal(provider);
}
}

return provider;
}

Expand Down

0 comments on commit 8e611cc

Please sign in to comment.