Ncp: Post the tasklet mUpdateChangedPropTask from constructor for initial reset flag. (#453)

This commit is contained in:
Abtin Keshavarzian
2016-08-23 12:53:24 -07:00
committed by Jonathan Hui
parent 834c8ebc94
commit 97cbae2174
+2
View File
@@ -388,6 +388,8 @@ NcpBase::NcpBase():
otSetStateChangedCallback(&HandleNetifStateChanged, this);
otSetReceiveIp6DatagramCallback(&HandleDatagramFromStack, this);
otSetIcmpEchoEnabled(false);
mUpdateChangedPropsTask.Post();
}
// ----------------------------------------------------------------------------