diff --git a/src/platform/Infineon/CYW30739/ConfigurationManagerImpl.cpp b/src/platform/Infineon/CYW30739/ConfigurationManagerImpl.cpp index 5489a58441c3ff..08efb665629e67 100644 --- a/src/platform/Infineon/CYW30739/ConfigurationManagerImpl.cpp +++ b/src/platform/Infineon/CYW30739/ConfigurationManagerImpl.cpp @@ -31,6 +31,7 @@ #include #include #include +#include namespace chip { namespace DeviceLayer { @@ -51,9 +52,11 @@ CHIP_ERROR ConfigurationManagerImpl::Init() { err = GetRebootCount(rebootCount); SuccessOrExit(err); - - err = StoreRebootCount(rebootCount + 1); - SuccessOrExit(err); + if (wiced_sleep_get_boot_mode() != WICED_SLEEP_FAST_BOOT) + { + err = StoreRebootCount(rebootCount + 1); + SuccessOrExit(err); + } } else {