mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 11:17:46 +00:00
[cli] fix parameter parse in ccm command (#7139)
This commit fixes ccm command parameters handling.
This commit is contained in:
+1
-1
@@ -849,7 +849,7 @@ otError Interpreter::ProcessCcm(Arg aArgs[])
|
||||
|
||||
VerifyOrExit(!aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_COMMAND);
|
||||
|
||||
SuccessOrExit(error = ParseEnableOrDisable(aArgs[1], enable));
|
||||
SuccessOrExit(error = ParseEnableOrDisable(aArgs[0], enable));
|
||||
otThreadSetCcmEnabled(GetInstancePtr(), enable);
|
||||
|
||||
exit:
|
||||
|
||||
Reference in New Issue
Block a user