Cleanup MLE attach names. (#1816)

This commit is contained in:
Jonathan Hui
2017-05-24 08:41:38 -07:00
committed by GitHub
parent b89a9dfbc1
commit 344a78f39f
13 changed files with 59 additions and 68 deletions
@@ -1406,7 +1406,7 @@ OTNODEAPI int32_t OTCALL otNodeSetState(otNode* aNode, const char *aState)
}
else if (strcmp(aState, "child") == 0)
{
error = otThreadBecomeChild(aNode->mInstance, kMleAttachAnyPartition);
error = otThreadBecomeChild(aNode->mInstance);
}
else if (strcmp(aState, "router") == 0)
{