From 6622b4766211eec71a9877620e8dfcd4621a45a8 Mon Sep 17 00:00:00 2001 From: "jin0.kim" Date: Mon, 25 Apr 2016 10:51:56 +0830 Subject: [PATCH] Remove deprecated tethering type Change-Id: I0c9f123cd532f7e9e3c7220892f459b468948843 --- daemon/settings/modules/wifi.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/daemon/settings/modules/wifi.c b/daemon/settings/modules/wifi.c index 2b7c89c..29faf7f 100755 --- a/daemon/settings/modules/wifi.c +++ b/daemon/settings/modules/wifi.c @@ -337,8 +337,6 @@ static void _tethering_wifi_reply_cb(app_control_h request, app_control_h reply, DBG("Response[%s]", resp_type); if (!strcmp("RESP_TETHERING_TYPE_WIFI_OFF", resp_type)) { _tethering_disable(TETHERING_TYPE_WIFI, user_data); - } else if (!strcmp("RESP_TETHERING_TYPE_WIFI_AP_OFF", resp_type)) { - _tethering_disable(TETHERING_TYPE_RESERVED, user_data); } free(resp_type); @@ -390,9 +388,6 @@ static int _wifi_on(void *data, const char *popup_txt) if (tethering_is_enabled(NULL, TETHERING_TYPE_WIFI)) { _tethering_off_popup(ad->win, data, TETHERING_TYPE_WIFI, popup_txt); return -1; - } else if (tethering_is_enabled(NULL, TETHERING_TYPE_RESERVED)) { - _tethering_off_popup(ad->win, data, TETHERING_TYPE_RESERVED, popup_txt); - return -1; } ret = wifi_activate_with_wifi_picker_tested(_wifi_activated_cb, NULL); -- 2.7.4