Skip to content

Commit

Permalink
Change the store scene invalidate to be only for the current fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
lpbeliveau-silabs committed Nov 14, 2023
1 parent c22830e commit 3bf92f4
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/app/clusters/scenes-server/scenes-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,8 @@ void ViewSceneParse(HandlerContext & ctx, const CommandData & req, GroupDataProv
CHIP_ERROR StoreSceneParse(const FabricIndex & fabricIdx, const EndpointId & endpointID, const GroupId & groupID,
const SceneId & sceneID, GroupDataProvider * groupProvider)
{
// Make SceneValid false for all fabrics before store scenes
ScenesServer::Instance().MakeSceneInvalidForAllFabrics(endpointID);
// Make current fabric's SceneValid false before store scenes
ScenesServer::Instance().MakeSceneInvalid(endpointID, fabricIdx);

uint16_t endpointTableSize = 0;
ReturnErrorOnFailure(
Expand Down
54 changes: 45 additions & 9 deletions zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3bf92f4

Please sign in to comment.