summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishant Chaprana <n.chaprana@samsung.com>2019-11-04 07:36:02 +0530
committerNishant Chaprana <n.chaprana@samsung.com>2019-11-04 07:36:02 +0530
commit4fd29ca6a782dd8f37e726cd0836c72a342ad959 (patch)
tree1106ec3d6ec087d44752262c29013ce6cbbd6fef
parent1b874c974b1c3b1e3b24112e9233b42235b5ed85 (diff)
downloadconnman-4fd29ca6a782dd8f37e726cd0836c72a342ad959.tar.gz
connman-4fd29ca6a782dd8f37e726cd0836c72a342ad959.tar.bz2
connman-4fd29ca6a782dd8f37e726cd0836c72a342ad959.zip
Remove TIZEN_EXT for patch accepted by upstream community.
Reference link: https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=2974287df58bb8b018c7fe6e83d4c5bac5411a47 Change-Id: I5f51ef0348af7a5a72f799c7e2e3646c5a680536 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
-rwxr-xr-xplugins/wifi.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 57d8572c..c209da57 100755
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -5521,24 +5521,16 @@ static void sta_remove_callback(int result,
if ((result < 0) || (info->wifi->ap_supported != WIFI_AP_SUPPORTED)) {
info->wifi->tethering = false;
connman_technology_tethering_notify(info->technology, false);
-#if !defined TIZEN_EXT
-
- g_free(info->ifname);
- g_free(info->ssid);
- g_free(info);
-#endif /* !defined TIZEN_EXT */
if (info->wifi->ap_supported == WIFI_AP_SUPPORTED) {
g_free(info->wifi->tethering_param->ssid);
g_free(info->wifi->tethering_param);
info->wifi->tethering_param = NULL;
}
-#if defined TIZEN_EXT
g_free(info->ifname);
g_free(info->ssid);
g_free(info);
-#endif /* defined TIZEN_EXT */
return;
}