From f24d823df9518db56e51f8c89bf03df673a1e316 Mon Sep 17 00:00:00 2001 From: "hyunuk.tak" Date: Thu, 26 Sep 2019 14:43:05 +0900 Subject: [PATCH] Fix to appropriate variable for default connection Change-Id: I43a8a7aca0c1fb4f62b3c41dc58ef40359bbeabf Signed-off-by: hyunuk.tak --- plugin/monitor/stc-plugin-monitor-connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/monitor/stc-plugin-monitor-connection.c b/plugin/monitor/stc-plugin-monitor-connection.c index 1988a43..a305002 100755 --- a/plugin/monitor/stc-plugin-monitor-connection.c +++ b/plugin/monitor/stc-plugin-monitor-connection.c @@ -609,7 +609,7 @@ static void __vconf_key_callback(keynode_t *node, void *user_data) /* 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; @@ -617,7 +617,7 @@ static void __vconf_key_callback(keynode_t *node, void *user_data) /* 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; -- 2.7.4