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;
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
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
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;
}