summaryrefslogtreecommitdiff
path: root/src/provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/provider.c')
-rw-r--r--src/provider.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/provider.c b/src/provider.c
index 487c7cdb..321bfcc5 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -134,6 +134,9 @@ static int connman_provider_save(struct connman_provider *provider)
g_key_file_set_string(keyfile, provider->identifier,
"VPN.Domain", provider->domain);
+ if (provider->driver != NULL && provider->driver->save != NULL)
+ provider->driver->save(provider, keyfile);
+
__connman_storage_save_provider(keyfile, provider->identifier);
g_key_file_free(keyfile);