Change-Id: I43a8a7aca0c1fb4f62b3c41dc58ef40359bbeabf
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
/* add monitoring for tethering if active found */
if (g_default_connection->tether_state == TRUE && g_default_connection->tether_iface.ifname) {
__print_tether_connection_info();
/* 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;
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) {
/* 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;
g_free(g_default_connection->tether_iface.ifname);
g_default_connection->tether_iface.ifname = NULL;
g_default_connection->tether_iface.type = STC_IFACE_UNKNOWN;