From 5c16eca6a4a6525e2b9676b096e42ca20380439c Mon Sep 17 00:00:00 2001 From: Saurav Babu Date: Mon, 12 Sep 2016 16:14:09 +0530 Subject: [PATCH] [net-config] Remove clatd support Tizen 3.0 doesn't support clatd, so remove clatd support from net-config Change-Id: Ib65e1731c86c51770752e98da01dae3bd435189a Signed-off-by: Saurav Babu --- CMakeLists.txt | 1 - src/network-state.c | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b6f03fb..54aeb69 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,6 @@ SET(SRCS src/wifi-background-scan.c src/wifi-tel-intf.c src/wifi-config.c - src/clatd-handler.c ) IF("${CMAKE_BUILD_TYPE}" STREQUAL "") diff --git a/src/network-state.c b/src/network-state.c index 54e5192..9b2b9c0 100755 --- a/src/network-state.c +++ b/src/network-state.c @@ -44,7 +44,6 @@ #include "network-monitor.h" #include "netsupplicant.h" #include "wifi-tel-intf.h" -#include "clatd-handler.h" #include "generated-code.h" /* Define TCP buffer sizes for various networks */ @@ -471,8 +470,6 @@ static void __netconfig_update_default_connection_info(void) DBG("Successfully clear IP and PROXY up"); - /* Disable clatd if it is in running state */ - netconfig_clatd_disable(); } else if (profile != NULL) { char *old_ip = vconf_get_str(VCONFKEY_NETWORK_IP); char *old_proxy = vconf_get_str(VCONFKEY_NETWORK_PROXY); @@ -494,10 +491,6 @@ static void __netconfig_update_default_connection_info(void) netconfig_set_system_event(SYS_EVENT_NETWORK_STATUS, EVT_KEY_NETWORK_STATUS, EVT_VAL_NETWORK_CELLULAR); - - /* Enable clatd if IPv6 is set and no IPv4 address */ - if (!ip_addr && ip_addr6) - netconfig_clatd_enable(); } else if (netconfig_is_ethernet_profile(profile) == TRUE) { netconfig_set_vconf_int(VCONFKEY_NETWORK_STATUS, VCONFKEY_NETWORK_ETHERNET); netconfig_set_system_event(SYS_EVENT_NETWORK_STATUS, @@ -533,10 +526,6 @@ static void __netconfig_update_default_connection_info(void) netconfig_set_vconf_int(VCONFKEY_NETWORK_CONFIGURATION_CHANGE_IND, 1); DBG("Successfully update default network configuration"); - - /* Disable clatd if it is in running state */ - if (netconfig_is_cellular_profile(profile) != TRUE) - netconfig_clatd_disable(); } __netconfig_adjust_tcp_buffer_size(); -- 2.34.1