mirror of
https://github.com/espressif/openthread.git
synced 2026-07-06 04:10:22 +00:00
Fix bugs in Announce (#1471)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user