diff --git a/src/app/clusters/ota-requestor/DefaultOTARequestor.cpp b/src/app/clusters/ota-requestor/DefaultOTARequestor.cpp index f96b85ed9b4963..a46f51f086fd6e 100644 --- a/src/app/clusters/ota-requestor/DefaultOTARequestor.cpp +++ b/src/app/clusters/ota-requestor/DefaultOTARequestor.cpp @@ -492,12 +492,9 @@ void DefaultOTARequestor::OnConnectionFailure(void * context, const ScopedNodeId switch (requestorCore->mOnConnectedAction) { case kQueryImage: - requestorCore->RecordErrorUpdateState(error); - break; case kDownload: - requestorCore->RecordErrorUpdateState(error); - break; case kApplyUpdate: + case kNotifyUpdateApplied: requestorCore->RecordErrorUpdateState(error); break; default: