Fixed critical build issues 51/163551/1 accepted/tizen/unified/20171212.171959 submit/tizen/20171212.082257
authorSaurav Babu <saurav.babu@samsung.com>
Tue, 12 Dec 2017 04:03:51 +0000 (09:33 +0530)
committerSaurav Babu <saurav.babu@samsung.com>
Tue, 12 Dec 2017 04:03:51 +0000 (09:33 +0530)
Change-Id: I1261576320587b6c6d77887e1bc7e8d446cc28f3
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
src/network_interface.c
src/wifi_manager.c

index 9e57fb2e16254182e079b242adff9c2dbfe11f8a..eb4620c6650f593af12660ab2d355148e2ecc352 100755 (executable)
@@ -1964,8 +1964,8 @@ EXPORT_API int net_wifi_get_ap_auto_connect(const char *profile_name, gboolean *
 
        Error = _net_dbus_wifi_get_autoconnect(profile_name, autoconnect);
        if (Error != NET_ERR_NONE)
-               WIFI_LOG(WIFI_ERROR, "Failed to get autoconnect(%d), Error[%s]",
-                               autoconnect, _net_print_error(Error));
+               WIFI_LOG(WIFI_ERROR, "Failed to get autoconnect, Error[%s]",
+                               _net_print_error(Error));
 
        __NETWORK_FUNC_EXIT__;
        return Error;
@@ -2439,7 +2439,7 @@ int net_set_ip_conflict_detect_mode(gboolean detect)
 
        Error = __net_set_ip_conflict_detect_mode(detect);
        if (Error != NET_ERR_NONE) {
-               WIFI_LOG(WIFI_ERROR, "Failed to set ip conflict detection enable", //LCOV_EXCL_LINE
+               WIFI_LOG(WIFI_ERROR, "Failed to set ip conflict detection enable, Error [%s]", //LCOV_EXCL_LINE
                _net_print_error(Error));
                __NETWORK_FUNC_EXIT__;
                return Error; //LCOV_EXCL_LINE
@@ -2457,7 +2457,7 @@ int net_ip_conflict_detect_is_enabled(gboolean *state)
 
        Error = __net_ip_conflict_detect_is_enabled(state);
        if (Error != NET_ERR_NONE) {
-               WIFI_LOG(WIFI_ERROR, "Failed to get ip conflict detection mode", //LCOV_EXCL_LINE
+               WIFI_LOG(WIFI_ERROR, "Failed to get ip conflict detection mode, Error [%s]", //LCOV_EXCL_LINE
                _net_print_error(Error));
                __NETWORK_FUNC_EXIT__;
                return Error; //LCOV_EXCL_LINE
index e055c0a48789bde5e2ea9b30a11d3200b98328ea..7833d9a6a47366bf16e1f250f7eebbb21dbc253d 100755 (executable)
@@ -948,7 +948,7 @@ EXPORT_API int wifi_manager_set_ip_conflict_detect_enable(wifi_manager_h wifi,
 
        rv = _wifi_ip_conflict_detect_enable_set(detect);
        if (rv != WIFI_MANAGER_ERROR_NONE)
-               WIFI_LOG(WIFI_ERROR, "Failed to change ip conflict detect mode", rv); //LCOV_EXCL_LINE
+               WIFI_LOG(WIFI_ERROR, "Failed to change ip conflict detect mode"); //LCOV_EXCL_LINE
 
        return rv;
 }