diff --git a/NetworkManagerGnomeProxy.cpp b/NetworkManagerGnomeProxy.cpp index 77327563..947c51a3 100644 --- a/NetworkManagerGnomeProxy.cpp +++ b/NetworkManagerGnomeProxy.cpp @@ -547,9 +547,11 @@ namespace WPEFramework /* @brief Set IP Address Of the Interface */ uint32_t NetworkManagerImplementation::SetIPSettings(const string& interface /* @in */, const IPAddress& address /* @in */) { + uint32_t rc = Core::ERROR_NONE; + return rc; GMainLoop *g_loop; g_loop = g_main_loop_new(NULL, FALSE); - uint32_t rc = Core::ERROR_NONE; + if(client == nullptr) { NMLOG_WARNING("client connection null"); diff --git a/NetworkManagerGnomeUtils.cpp b/NetworkManagerGnomeUtils.cpp index 63a4a3b0..b3f7b708 100644 --- a/NetworkManagerGnomeUtils.cpp +++ b/NetworkManagerGnomeUtils.cpp @@ -228,8 +228,8 @@ namespace WPEFramework ssidObj["strength"] = nmUtils::convertPercentageToSignalStrengtStr(strength); ssidObj["frequency"] = freq; } - else - NMLOG_DEBUG("hidden ssid found, bssid: %s", nm_access_point_get_bssid(ap)); + // else + // NMLOG_DEBUG("hidden ssid found, bssid: %s", nm_access_point_get_bssid(ap)); return ssidObj; }