+static gboolean _delete_configuration(const gchar *profile)
+{
+ gboolean ret = FALSE;
+ gchar *config_id = NULL;
+
+ ret = wifi_config_get_config_id(profile, &config_id);
+ if (ret != TRUE) {
+ ERR("Fail to get config_id from [%s]", profile);
+ return ret;
+ }
+ ERR("get config_id [%s] from [%s]", config_id, profile);
+
+ ret = wifi_config_remove_configuration(config_id);
+ if (ret != TRUE)
+ ERR("Fail to wifi_config_remove_configuration [%s]", config_id);
+
+ if (config_id != NULL)
+ g_free(config_id);
+
+ return ret;
+}
+