mirror of
https://github.com/espressif/openthread.git
synced 2026-08-17 16:09:51 +00:00
[dataset-manager] apply partial dataset config on channel set failure (#10490)
This commit updates `DatasetManager::ApplyConfiguration()` to apply the rest of the parameters in the Dataset even if setting the channel fails. The channel error is now logged as `LogCrit()`.
This commit is contained in:
@@ -199,8 +199,7 @@ Error DatasetManager::ApplyConfiguration(const Dataset &aDataset) const
|
||||
|
||||
if (error != kErrorNone)
|
||||
{
|
||||
LogWarn("ApplyConfiguration() Failed to set channel to %d (%s)", channel, ErrorToString(error));
|
||||
ExitNow();
|
||||
LogCrit("Failed to set channel to %u when applying dataset: %s", channel, ErrorToString(error));
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user