Skip to content

Commit 9caeb84

Browse files
proxy: Make P_PMGR_POWER_DISABLE actually disable power
Signed-off-by: Sasha Finkelstein <[email protected]>
1 parent e5fcfe1 commit 9caeb84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/proxy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ int proxy_process(ProxyRequest *request, ProxyReply *reply)
406406
reply->retval = pmgr_power_enable(request->args[0]);
407407
break;
408408
case P_PMGR_POWER_DISABLE:
409-
reply->retval = pmgr_power_enable(request->args[0]);
409+
reply->retval = pmgr_power_disable(request->args[0]);
410410
break;
411411
case P_PMGR_ADT_POWER_ENABLE:
412412
reply->retval = pmgr_adt_power_enable((const char *)request->args[0]);

0 commit comments

Comments
 (0)