mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 11:03:05 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user