mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 09:57:47 +00:00
Allow to clear Operation Dataset when a new network parameter is set. (#1639)
This commit is contained in:
committed by
Jonathan Hui
parent
c4feef569c
commit
c9e47b12dc
@@ -188,7 +188,7 @@ exit:
|
||||
|
||||
ThreadError DatasetManager::Clear(uint8_t &aFlags, bool aOnlyClearNetwork)
|
||||
{
|
||||
if (!aOnlyClearNetwork && mLocal.Compare(mNetwork) == 0)
|
||||
if (!aOnlyClearNetwork)
|
||||
{
|
||||
mLocal.Clear(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user