Replaced Wi-Fi CAPI with Wi-Fi manager CAPI
[apps/native/ug-mobile-ap.git] / src / mh_popup.c
index 6816988..2c9a088 100755 (executable)
@@ -3,7 +3,7 @@
 *
 * Copyright 2012  Samsung Electronics Co., Ltd
 
-* Licensed under the Flora License, Version 1.0 (the "License");
+* Licensed under the Flora License, Version 1.1 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 
@@ -395,7 +395,7 @@ static void __language_changed_cb(void *data, Evas_Object *obj, void *event_info
 
        switch (ad->type) {
        case TETHERING_TYPE_WIFI:
-               wifi_is_activated(&wifi_state);
+               wifi_manager_is_activated(ad->wifi_handle, &wifi_state);
                _set_vconf_prev_wifi_state(wifi_state);
                if (wifi_state == true || _is_wifi_direct_on() == true)
                        fmt = STR_TETH_ON_DESC_1;