diff options
author | Yakun Xu <xyk@google.com> | 2021-03-20 02:09:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-19 11:09:50 -0700 |
commit | bd90f1fa241e3abbcf7fa18420dfc557e989aba3 (patch) | |
tree | bf486a2cfbac6a1cb6ba5da83237c66d4670de72 /src/agent | |
parent | cf3a67383e9e25ca89208234d8efd8bee6b92f25 (diff) | |
download | ot-br-posix-bd90f1fa241e3abbcf7fa18420dfc557e989aba3.tar.gz |
[agent] remove CLI initialization (#722)
Diffstat (limited to 'src/agent')
-rw-r--r-- | src/agent/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/agent/ncp_openthread.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/agent/CMakeLists.txt b/src/agent/CMakeLists.txt index 50de999b..8f7aa3ba 100644 --- a/src/agent/CMakeLists.txt +++ b/src/agent/CMakeLists.txt @@ -49,6 +49,7 @@ target_link_libraries(otbr-agent PRIVATE $<$<BOOL:${OTBR_OPENWRT}>:otbr-ubus> $<$<BOOL:${OTBR_REST}>:otbr-rest> $<$<BOOL:${OTBR_BACKBONE_ROUTER}>:otbr-backbone-router> + openthread-posix openthread-cli-ftd openthread-ftd openthread-posix diff --git a/src/agent/ncp_openthread.cpp b/src/agent/ncp_openthread.cpp index 7926d083..b050b726 100644 --- a/src/agent/ncp_openthread.cpp +++ b/src/agent/ncp_openthread.cpp @@ -33,7 +33,6 @@ #include <string.h> #include <openthread/backbone_router_ftd.h> -#include <openthread/cli.h> #include <openthread/dataset.h> #include <openthread/logging.h> #include <openthread/srp_server.h> @@ -107,7 +106,6 @@ otbrError ControllerOpenThread::Init(void) VerifyOrExit(otLoggingSetLevel(level) == OT_ERROR_NONE, error = OTBR_ERROR_OPENTHREAD); mInstance = otSysInit(&mConfig); - otCliUartInit(mInstance); #if OTBR_ENABLE_LEGACY otLegacyInit(); #endif |