esp_matter/data_model_provider: Remove path check from EventInfo

fixes: 1731: https://github.com/espressif/esp-matter/issues/1731#issuecomment-4040543801
This commit is contained in:
liyashuai
2026-03-12 11:29:27 +08:00
parent 8428176dcd
commit 6ba9eb5de4
@@ -529,9 +529,6 @@ CHIP_ERROR provider::EventInfo(const ConcreteEventPath &path, EventEntry &eventI
if (auto *cluster = mRegistry.Get(path); cluster != nullptr) {
return cluster->EventInfo(path, eventInfo);
}
Status status = CheckDataModelPath(path);
VerifyOrReturnValue(status == Protocols::InteractionModel::Status::Success,
CHIP_ERROR_IM_GLOBAL_STATUS_VALUE(status));
eventInfo.readPrivilege = MatterGetAccessPrivilegeForReadEvent(path.mClusterId, path.mEventId);
return CHIP_NO_ERROR;
}