Skip to content

Commit

Permalink
Check for both
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed Aug 21, 2023
1 parent b775443 commit 84453cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ bool emberAfGroupKeyManagementClusterKeySetRemoveCallback(
CHIP_ERROR err = provider->RemoveKeySet(fabricIndex, commandData.groupKeySetID);

Status status = Status::Success;
if (CHIP_ERROR_NOT_FOUND == err)
if (CHIP_ERROR_NOT_FOUND == err || CHIP_ERROR_KEY_NOT_FOUND == err)
{
status = Status::NotFound;
}
Expand Down

0 comments on commit 84453cb

Please sign in to comment.