Fix to appropriate variable for default connection 51/214751/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.024804 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084614 accepted/tizen/unified/20190927.013301 submit/tizen/20190926.072356 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
authorhyunuk.tak <hyunuk.tak@samsung.com>
Thu, 26 Sep 2019 05:43:05 +0000 (14:43 +0900)
committerhyunuk.tak <hyunuk.tak@samsung.com>
Thu, 26 Sep 2019 05:43:08 +0000 (14:43 +0900)
Change-Id: I43a8a7aca0c1fb4f62b3c41dc58ef40359bbeabf
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
plugin/monitor/stc-plugin-monitor-connection.c

index 1988a43..a305002 100755 (executable)
@@ -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;