summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2018-12-18 02:26:30 (GMT)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2018-12-18 02:26:30 (GMT)
commitf95431ee055695dda747de4fc4d3f18653643afb (patch)
tree589570ed9460790617f7b608526b51f45c7a4088
parent47994e23cfadc1b7a64a90f1c1971f51fde47e44 (diff)
parent57ecfa1561172a97f98acae237ccf69a0378b345 (diff)
downloadconnman-submit/tizen/20181218.125545.zip
connman-submit/tizen/20181218.125545.tar.gz
connman-submit/tizen/20181218.125545.tar.bz2
Merge "Copy vsie_list before remove old list" into tizensubmit/tizen/20181218.125545accepted/tizen/unified/20181219.063352
-rw-r--r--gsupplicant/supplicant.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index bafe478..62857e0 100644
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -3360,6 +3360,13 @@ static void signal_network_removed(const char *path, DBusMessageIter *iter)
interface_network_removed(iter, interface);
}
+#if defined TIZEN_EXT
+void *copy_vsie_list(gconstpointer src, gpointer data)
+{
+ return g_strdup(src);
+}
+#endif
+
static void signal_bss_changed(const char *path, DBusMessageIter *iter)
{
@@ -3413,7 +3420,7 @@ static void signal_bss_changed(const char *path, DBusMessageIter *iter)
memcpy(new_bss, bss, sizeof(struct g_supplicant_bss));
new_bss->path = g_strdup(bss->path);
#if defined TIZEN_EXT
- new_bss->vsie_list = NULL;
+ new_bss->vsie_list = g_slist_copy_deep(bss->vsie_list, copy_vsie_list, NULL);
#endif
g_hash_table_remove(interface->network_table, network->group);