diff --git a/src/include/platform/internal/GenericPlatformManagerImpl.cpp b/src/include/platform/internal/GenericPlatformManagerImpl.cpp index 28f1eb8d9ad730..1d4d53bce1eca1 100644 --- a/src/include/platform/internal/GenericPlatformManagerImpl.cpp +++ b/src/include/platform/internal/GenericPlatformManagerImpl.cpp @@ -64,18 +64,19 @@ CHIP_ERROR GenericPlatformManagerImpl::_InitChipStack() } SuccessOrExit(err); - err = ConfigurationMgr().Init(); + // Initialize the CHIP system layer. + err = SystemLayer().Init(); if (err != CHIP_NO_ERROR) { - ChipLogError(DeviceLayer, "Configuration Manager initialization failed: %s", ErrorStr(err)); + ChipLogError(DeviceLayer, "SystemLayer initialization failed: %s", ErrorStr(err)); } SuccessOrExit(err); - // Initialize the CHIP system layer. - err = SystemLayer().Init(); + // Initialize the Configuration Manager. + err = ConfigurationMgr().Init(); if (err != CHIP_NO_ERROR) { - ChipLogError(DeviceLayer, "SystemLayer initialization failed: %s", ErrorStr(err)); + ChipLogError(DeviceLayer, "Configuration Manager initialization failed: %s", ErrorStr(err)); } SuccessOrExit(err);