mirror of
https://github.com/espressif/openthread.git
synced 2026-08-22 18:39:50 +00:00
[mle] do not delete the ParentInfo settings (#2494)
This commit is contained in:
committed by
Jonathan Hui
parent
afcb345219
commit
6c8aef053f
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user