[PATCH v5 31/42] vpn-provider: Remove vpn provider from storage when needed

Jukka Rissanen jukka.rissanen at linux.intel.com
Mon Nov 12 04:07:47 PST 2012


---
 vpn/vpn-provider.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vpn/vpn-provider.c b/vpn/vpn-provider.c
index 09b782a..27783bc 100644
--- a/vpn/vpn-provider.c
+++ b/vpn/vpn-provider.c
@@ -1037,6 +1037,8 @@ int __vpn_provider_remove(const char *path)
 
 		provider_unregister(provider);
 		g_hash_table_remove(provider_hash, provider->identifier);
+
+		__connman_storage_remove_provider(ident);
 		return 0;
 	}
 
-- 
1.7.11.4




More information about the connman mailing list