Remove deprecated tethering type 55/67055/1 accepted/tizen/common/20160425.144842 accepted/tizen/ivi/20160425.093800 accepted/tizen/mobile/20160425.093730 accepted/tizen/tv/20160425.093811 accepted/tizen/wearable/20160425.093746 submit/tizen/20160425.005628
authorjin0.kim <jin0.kim@samsung.com>
Mon, 25 Apr 2016 02:21:56 +0000 (10:51 +0830)
committerjin0.kim <jin0.kim@samsung.com>
Mon, 25 Apr 2016 02:21:56 +0000 (10:51 +0830)
Change-Id: I0c9f123cd532f7e9e3c7220892f459b468948843

daemon/settings/modules/wifi.c

index 2b7c89c..29faf7f 100755 (executable)
@@ -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);