diff options
-rw-r--r-- | util/ectool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c index c652bdbe18..a8be48fc35 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -7576,6 +7576,7 @@ int cmd_charge_control(int argc, char *argv[]) return 0; } + p.cmd = EC_CHARGE_CONTROL_CMD_SET; if (!strcasecmp(argv[1], "normal")) { p.mode = CHARGE_CONTROL_NORMAL; if (argc == 2) { |