}
g_connection_list = g_slist_append(g_connection_list, conn);
-
- g_free(object_path);
- g_variant_iter_free(next);
- continue;
}
}
/* add monitoring for tethering if active found */
if (g_default_connection->tether_state == TRUE && g_default_connection->tether_iface.ifname) {
__print_tether_connection_info();
- stc_monitor_update_by_connection(&g_default_connection);
+ stc_monitor_update_by_connection(g_default_connection);
stc_plugin_firewall_update();
STC_LOGI("Data monitoring started for tethering iface !");
return;
/* remove monitoring for tethering if in-active found */
if (g_default_connection->tether_state == FALSE && g_default_connection->tether_iface.ifname) {
- stc_monitor_update_by_connection(&g_default_connection);
+ stc_monitor_update_by_connection(g_default_connection);
g_free(g_default_connection->tether_iface.ifname);
g_default_connection->tether_iface.ifname = NULL;
g_default_connection->tether_iface.type = STC_IFACE_UNKNOWN;