Skip to content

Commit c80d18f

Browse files
address comments
1 parent cb2ecc4 commit c80d18f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/app/ReadClient.cpp

+1-8
Original file line numberDiff line numberDiff line change
@@ -493,14 +493,7 @@ void ReadClient::OnActiveModeNotification()
493493
return;
494494
}
495495

496-
if (mIsResubscriptionScheduled)
497-
{
498-
// If a subscription fails and resubscription is scheduled, a check-in message should cancel
499-
// the pending resubscription and initiate a new subscription immediately."
500-
mNumRetries = 0;
501-
CancelResubscribeTimer();
502-
TriggerResubscriptionForLivenessTimeout(CHIP_ERROR_TIMEOUT);
503-
}
496+
TriggerResubscribeIfScheduled("check-in message");
504497
return;
505498
}
506499

0 commit comments

Comments
 (0)