From 97cbae21743998d2a9e2416144b792cd2e7866b1 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Tue, 23 Aug 2016 12:53:24 -0700 Subject: [PATCH] Ncp: Post the tasklet `mUpdateChangedPropTask` from constructor for initial reset flag. (#453) --- 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 ef12978d5..82aae57eb 100644 --- a/src/ncp/ncp_base.cpp +++ b/src/ncp/ncp_base.cpp @@ -388,6 +388,8 @@ NcpBase::NcpBase(): otSetStateChangedCallback(&HandleNetifStateChanged, this); otSetReceiveIp6DatagramCallback(&HandleDatagramFromStack, this); otSetIcmpEchoEnabled(false); + + mUpdateChangedPropsTask.Post(); } // ----------------------------------------------------------------------------