Remove TIZEN_EXT for patch accepted by upstream community. 37/216837/1
authorNishant Chaprana <n.chaprana@samsung.com>
Mon, 4 Nov 2019 02:06:02 +0000 (07:36 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Mon, 4 Nov 2019 02:06:02 +0000 (07:36 +0530)
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>
plugins/wifi.c

index 57d8572..c209da5 100755 (executable)
@@ -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;
        }