[DA Patch]Change the _ws_flush
[platform/core/connectivity/wifi-direct-manager.git] / plugin / wpasupplicant / ctrl_iface_dbus / wfd-plugin-wpasupplicant.c
index e7b4882..ebc9cc7 100644 (file)
@@ -2876,11 +2876,11 @@ static void _ws_process_group_finished(GDBusConnection *connection,
 
        _ws_manage_group_iface_signal(interface, FALSE);
        memset(g_pd->group_iface_path, 0x0, DBUS_OBJECT_PATH_MAX);
-       _ws_flush();
-
        if (g_pd->callback->group_destroyed_cb)
                g_pd->callback->group_destroyed_cb(&event);
 
+       _ws_flush();
+
        __WDP_LOG_FUNC_EXIT__;
 }