commit | 643eb2080bfa1fec8ddcf2243db1afc51837e36c | [log] [tgz] |
---|---|---|
author | Damian Krolik <damian.krolik@nordicsemi.no> | Wed May 12 09:53:28 2021 +0200 |
committer | Kumar Gala <kumar.gala@gmail.com> | Wed May 12 08:31:08 2021 -0500 |
tree | 1ad0d7bd43cc396418404199a6e030a84fbc309c | |
parent | f100566f7a3397bb0e2f168853dceeb4f24ac188 [diff] |
openthread: shell: Do not execute OT commands when OT is not ready OpenThread shell tries to execute commands without checking if the shell has already been initialized. As a result, we may hit an assertion in the OpenThread CLI code. It's particularly painful in automated tests which spawn commands very early in the firmware boot process. Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>