Skip to content

Commit

Permalink
DELIA-66893 - GetInterfaceState is not working (#37)
Browse files Browse the repository at this point in the history
Reason for change: GetInterfaceState is using the SetInterfaceState
networkmanager implementation call instead of GetInterfaceState call.
Modified the same.
Test Procedure: Check with curl commands
Risks: Low
Priority: P1
Signed-off-by: Gururaaja ESR <[email protected]>
  • Loading branch information
gururaajar authored Nov 20, 2024
1 parent 195f802 commit 844e18c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NetworkManagerJsonRpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 844e18c

Please sign in to comment.