diff --git a/NetworkManagerJsonRpc.cpp b/NetworkManagerJsonRpc.cpp index 8feedf5..5557e49 100644 --- a/NetworkManagerJsonRpc.cpp +++ b/NetworkManagerJsonRpc.cpp @@ -271,7 +271,7 @@ namespace WPEFramework if ("wlan0" != interface && "eth0" != interface) rc = Core::ERROR_BAD_REQUEST; else if (_networkManager) - rc = _networkManager->SetInterfaceState(interface, enabled); + rc = _networkManager->GetInterfaceState(interface, enabled); else rc = Core::ERROR_UNAVAILABLE;