forgot to read back after reset

This commit is contained in:
Philippe Teuwen
2020-10-15 22:57:57 +02:00
parent 17e5e72111
commit f39131f5f0
2 changed files with 8 additions and 0 deletions

View File

@@ -1915,6 +1915,10 @@ static int CmdEM4x05Unlock(const char *Cmd) {
if (word14b == 0) {
unlock_reset(use_pwd, pwd, write_value);
res = EM4x05ReadWord_ext(14, pwd, use_pwd, &word14b);
if (res != PM3_SUCCESS) {
continue;
}
}
if (word14b != search_value) {