summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Sansanwal <abhishek.s94@samsung.com>2017-10-24 15:10:10 +0530
committerAbhishek Sansanwal <abhishek.s94@samsung.com>2017-10-24 09:41:46 +0000
commitbaea07ae8f567c02d775803674b252004eca9bbe (patch)
tree4321715dc04b961052c41e376f0ecd5159a8c8ad
parent16226be75e4eed7c9f7ae163191c47a8623f0492 (diff)
downloadwifi-baea07ae8f567c02d775803674b252004eca9bbe.tar.gz
wifi-baea07ae8f567c02d775803674b252004eca9bbe.tar.bz2
wifi-baea07ae8f567c02d775803674b252004eca9bbe.zip
Fixed incorrect callback type
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com> Change-Id: I88507b093ac5778a86ecf89a7d0d51a0077bdbd4
-rwxr-xr-xsources/wearable/inc/net/wifi_manager.h2
-rwxr-xr-xsources/wearable/src/net/wifi_manager.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sources/wearable/inc/net/wifi_manager.h b/sources/wearable/inc/net/wifi_manager.h
index 5f6d55a..aa9eb31 100755
--- a/sources/wearable/inc/net/wifi_manager.h
+++ b/sources/wearable/inc/net/wifi_manager.h
@@ -114,7 +114,7 @@ wifi_manager_error_e wifi_update_wifi_config_list(wifi_manager_object *manager);
gint wifi_manager_default_compare_ap(gconstpointer a, gconstpointer b);
wifi_manager_error_e wifi_foreach_found_specific_ap(wifi_manager_object *manager,
- wifi_manager_scan_finished_cb callback,
+ wifi_manager_found_ap_cb callback,
gpointer user_data);
/*
* Wi-Fi AP API
diff --git a/sources/wearable/src/net/wifi_manager.c b/sources/wearable/src/net/wifi_manager.c
index 1fc1033..fa1f0fd 100755
--- a/sources/wearable/src/net/wifi_manager.c
+++ b/sources/wearable/src/net/wifi_manager.c
@@ -522,7 +522,7 @@ wifi_manager_error_e wifi_scan(wifi_manager_object *manager,
}
wifi_manager_error_e wifi_foreach_found_specific_ap(wifi_manager_object *manager,
- wifi_manager_scan_finished_cb callback,
+ wifi_manager_found_ap_cb callback,
gpointer user_data)
{
wifi_manager_cb_data *cb_data = NULL;