Fix bugs in Announce (#1471)

This commit is contained in:
rongli
2017-03-17 00:04:51 +08:00
committed by Jonathan Hui
parent 90bab8312b
commit 9a175befed
3 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -589,7 +589,7 @@ ThreadError otThreadSetEnabled(otInstance *aInstance, bool aEnabled)
{
VerifyOrExit(aInstance->mThreadNetif.GetMac().GetPanId() != Mac::kPanIdBroadcast,
error = kThreadError_InvalidState);
error = aInstance->mThreadNetif.GetMle().Start(true);
error = aInstance->mThreadNetif.GetMle().Start(true, false);
}
else
{