diff options
author | saerome kim <saerome.kim@samsung.com> | 2019-07-10 21:05:09 +0900 |
---|---|---|
committer | saerome.kim <saerome.kim@samsung.com> | 2019-07-11 08:35:46 +0900 |
commit | c6b30f4be3a5a5835c10b331d510a5f092b2cb7c (patch) | |
tree | ccf8cf6aca3d02acea15e5a50e7fb9160e78e19b | |
parent | ac1cdd666d2bce9f29d8f65b959d3b4fbbf3db62 (diff) | |
download | ua-plugin-wifi-dummy-c6b30f4be3a5a5835c10b331d510a5f092b2cb7c.tar.gz ua-plugin-wifi-dummy-c6b30f4be3a5a5835c10b331d510a5f092b2cb7c.tar.bz2 ua-plugin-wifi-dummy-c6b30f4be3a5a5835c10b331d510a5f092b2cb7c.zip |
[Fix] Remove spaces and extra function callsubmit/tizen/20190711.231148accepted/tizen/unified/20190712.115322
Change-Id: I1dfb575163db48c8ccd5bcd22fbed31c59999a13
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
-rw-r--r-- | src/wifi-plugin.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/wifi-plugin.c b/src/wifi-plugin.c index 2544cf8..a839ad8 100644 --- a/src/wifi-plugin.c +++ b/src/wifi-plugin.c @@ -181,7 +181,7 @@ void __check_mobilelist() UA_WIFI_INFO("Detect this mobild id %s start presence request MAC %s", wifi_info->mobile_id, wifi_info->mac_addr); if (initial_bursts == true) { - if (UAS_STATUS_SUCCESS !=__init_ip_mac_count()) { + if (UAS_STATUS_SUCCESS != __init_ip_mac_count()) { UA_WIFI_ERR("ARP Init fail"); return; } else @@ -333,12 +333,13 @@ void __check_mobile_list_finish(bool is_check) FUNC_EXIT; } -static void __check_add_device_finish() +static gboolean __add_device_send(gpointer data) { GSList *l; uas_device_info_t *dev_info = NULL; initial_bursts = true; + for (l = dev_list; NULL != l; l = g_slist_next(l)) { uas_wifi_info_t *wifi_info = l->data; @@ -348,7 +349,7 @@ static void __check_add_device_finish() if (NULL == uas_cbs || NULL == uas_cbs->device_added_cb) { dev_list = g_slist_remove(dev_list, wifi_info); free(wifi_info); - return; + break; } dev_info = _wifi_plugin_util_get_dev_info_from_wifi_info(wifi_info); @@ -365,11 +366,7 @@ static void __check_add_device_finish() break; } } -} -static gboolean __add_device_send(gpointer data) -{ - __check_add_device_finish(); return FALSE; } |