Skip to content

Commit

Permalink
DoorLock: Fix incorrect CredentialIndex on LockOperation events initi…
Browse files Browse the repository at this point in the history
…ated remotely (#24985)
  • Loading branch information
jrhees-cae committed Feb 10, 2023
1 parent 5ad70f6 commit 6e894d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/clusters/door-lock-server/door-lock-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ bool DoorLockServer::findUserIndexByCredential(chip::EndpointId endpointId, Cred
if (credentialInfo.credentialData.data_equal(credentialData))
{
userIndex = i;
credentialIndex = i;
credentialIndex = credential.CredentialIndex;
userInfo = user;
return true;
}
Expand Down

0 comments on commit 6e894d6

Please sign in to comment.