[mle] do not apply active dataset from settings after attaching (#3762)

A device should use the Active Dataset in use by the partition that it is
attached to, not the one stored locally in non-volatile.
This commit is contained in:
Jonathan Hui
2019-04-16 08:23:10 -07:00
committed by GitHub
parent 9fa48b54a8
commit d6e58b15ca
-2
View File
@@ -3360,8 +3360,6 @@ otError Mle::HandleChildIdResponse(const Message &aMessage, const Ip6::MessageIn
Get<NetworkData::Leader>().SetNetworkData(leaderData.GetDataVersion(), leaderData.GetStableDataVersion(),
!IsFullNetworkData(), aMessage, networkDataOffset);
Get<MeshCoP::ActiveDataset>().ApplyConfiguration();
SetStateChild(shortAddress.GetRloc16());
exit: