From baea07ae8f567c02d775803674b252004eca9bbe Mon Sep 17 00:00:00 2001 From: Abhishek Sansanwal Date: Tue, 24 Oct 2017 15:10:10 +0530 Subject: Fixed incorrect callback type Signed-off-by: Abhishek Sansanwal Change-Id: I88507b093ac5778a86ecf89a7d0d51a0077bdbd4 --- sources/wearable/inc/net/wifi_manager.h | 2 +- sources/wearable/src/net/wifi_manager.c | 2 +- 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; -- cgit v1.2.3