Minor fix for incorrect local variable name (#29347)
diff --git a/src/app/InteractionModelEngine.cpp b/src/app/InteractionModelEngine.cpp
index 5322345..d1476c6 100644
--- a/src/app/InteractionModelEngine.cpp
+++ b/src/app/InteractionModelEngine.cpp
@@ -337,10 +337,10 @@
#if CHIP_CONFIG_PERSIST_SUBSCRIPTIONS && CHIP_CONFIG_SUBSCRIPTION_TIMEOUT_RESUMPTION
if (!mSubscriptionResumptionScheduled && HasSubscriptionsToResume())
{
- mSubscriptionResumptionScheduled = true;
- auto timeTillNextResubscriptionSecs = ComputeTimeSecondsTillNextSubscriptionResumption();
- mpExchangeMgr->GetSessionManager()->SystemLayer()->StartTimer(System::Clock::Seconds32(timeTillNextResubscriptionSecs),
- ResumeSubscriptionsTimerCallback, this);
+ mSubscriptionResumptionScheduled = true;
+ auto timeTillNextSubscriptionResumptionSecs = ComputeTimeSecondsTillNextSubscriptionResumption();
+ mpExchangeMgr->GetSessionManager()->SystemLayer()->StartTimer(
+ System::Clock::Seconds32(timeTillNextSubscriptionResumptionSecs), ResumeSubscriptionsTimerCallback, this);
mNumSubscriptionResumptionRetries++;
}
#endif // CHIP_CONFIG_PERSIST_SUBSCRIPTIONS