Skip to content

Commit

Permalink
Adjust the logic for endpoints matching a cluster (#13007)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored and pull[bot] committed May 10, 2022
1 parent 8936daf commit 52019b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/util/attribute-storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -795,9 +795,9 @@ void EnabledEndpointsWithServerCluster::EnsureMatchingEndpoint()
continue;
}

if (!emberAfContainsServerFromIndex(mEndpointIndex, mClusterId))
if (emberAfContainsServerFromIndex(mEndpointIndex, mClusterId))
{
continue;
break;
}
}
}
Expand Down

0 comments on commit 52019b8

Please sign in to comment.