From acd9b2988af2467cc0b51d4a454a40d97693f00a Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Wed, 5 Jul 2017 09:42:46 -0700 Subject: [PATCH] [ncp] Add `SPINEL_CAP_ROLE_SLEEPY` to `SPINEL_PROP_CAPS` list of capabilities. (#1950) --- src/ncp/ncp_base.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ncp/ncp_base.cpp b/src/ncp/ncp_base.cpp index fa32476e7..07b2fe61e 100644 --- a/src/ncp/ncp_base.cpp +++ b/src/ncp/ncp_base.cpp @@ -2232,6 +2232,8 @@ otError NcpBase::GetPropertyHandler_CAPS(uint8_t aHeader, spinel_prop_key_t aKey SuccessOrExit(error = OutboundFrameFeedPacked(SPINEL_DATATYPE_UINT_PACKED_S, SPINEL_CAP_ROLE_ROUTER)); #endif + SuccessOrExit(error = OutboundFrameFeedPacked(SPINEL_DATATYPE_UINT_PACKED_S, SPINEL_CAP_ROLE_SLEEPY)); + #if OPENTHREAD_ENABLE_LEGACY SuccessOrExit(error = OutboundFrameFeedPacked(SPINEL_DATATYPE_UINT_PACKED_S, SPINEL_CAP_NEST_LEGACY_INTERFACE)); #endif