From 2fb18e38f9547ed6fd37f206f81f33d0bd86b5a2 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Wed, 5 Oct 2016 18:52:19 +0900 Subject: [PATCH] [TSAM-8358] Update ap list when app is resumed Change-Id: I8a4e9a4e009b4858ad4d351ff6c6c5ed64e4b2a8 Signed-off-by: Seonah Moon --- packaging/wifi-efl-ug.spec | 2 +- sources/wearable/src/wearable-circle/app_main.c | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/packaging/wifi-efl-ug.spec b/packaging/wifi-efl-ug.spec index 9dff210..fd7b748 100644 --- a/packaging/wifi-efl-ug.spec +++ b/packaging/wifi-efl-ug.spec @@ -1,7 +1,7 @@ %define _unpackaged_files_terminate_build 0 Name: wifi-efl-ug Summary: Wi-Fi UI Gadget for TIZEN -Version: 1.0.203 +Version: 1.0.204 Release: 1 Group: App/Network License: Flora-1.1 diff --git a/sources/wearable/src/wearable-circle/app_main.c b/sources/wearable/src/wearable-circle/app_main.c index 3363613..9fd6318 100755 --- a/sources/wearable/src/wearable-circle/app_main.c +++ b/sources/wearable/src/wearable-circle/app_main.c @@ -296,11 +296,6 @@ static void __wifi_manager_scan_finished_cb(wifi_manager_object *manager, WIFI_RET_IF_FAIL(manager != NULL); WIFI_RET_IF_FAIL(app_obj != NULL); - if (!app_obj->popup_scanning) { - WIFI_LOG_INFO("Scanning progress is closed by user."); - return; - } - if (app_obj->is_first_scan) { if (!app_obj->scan) app_obj->scan = _scan_create(app_obj->base, app_obj); @@ -4295,6 +4290,9 @@ static void app_resume(void *user_data) WIFI_RET_IF_FAIL(app_obj != NULL); WIFI_RET_IF_FAIL(app_obj->wifi_manager != NULL); + + if (!_wifi_manager_scan_start(app_obj)) + WIFI_LOG_ERR("_wifi_manager_scan_start() is failed."); } static void app_service(app_control_h service, void *user_data) -- 2.7.4