diff --git a/src/app/clusters/general-commissioning-server/general-commissioning-server.cpp b/src/app/clusters/general-commissioning-server/general-commissioning-server.cpp index f69d93a5343b23..f94480ad411386 100644 --- a/src/app/clusters/general-commissioning-server/general-commissioning-server.cpp +++ b/src/app/clusters/general-commissioning-server/general-commissioning-server.cpp @@ -461,7 +461,7 @@ void OnPlatformEventHandler(const DeviceLayer::ChipDeviceEvent * event, intptr_t void MatterGeneralCommissioningPluginServerInitCallback() { Breadcrumb::Set(0, 0); - registerAttributeAccessOverride(&gAttributeAccessInstance); + AttributeAccessInterfaceRegistry::Instance().Register(&gAttributeAccessInstance); DeviceLayer::PlatformMgrImpl().AddEventHandler(OnPlatformEventHandler); }