[mle] do not delete the ParentInfo settings (#2494)

This commit is contained in:
Abtin Keshavarzian
2018-01-19 17:21:19 +00:00
committed by Jonathan Hui
parent afcb345219
commit 6c8aef053f
-1
View File
@@ -1699,7 +1699,6 @@ otError Mle::SendChildIdRequest(void)
// attach to a better partition, invalidating old parent state (especially when in kStateRestored) ensures
// that GetNeighbor() returns mParentCandidate when processing the Child ID Response.
mParent.SetState(Neighbor::kStateInvalid);
otPlatSettingsDelete(&GetInstance(), Settings::kKeyParentInfo, -1);
}
}