fix: reset card state
reset card state after gen2 detection in ATS based magic identification Signed-off-by: 火山大隊長 <brian20020925@gmail.com>
This commit is contained in:
1 parent
d39b32997f
commit
02a4594a1b
1 file changed
+1
@@ -3025,6 +3025,7 @@ void MifareCIdent(bool is_mfc, uint8_t keytype, uint8_t *key) {
|
||||
// Use special magic detection function that always attempts RATS regardless of SAK
|
||||
res = iso14443a_select_card_for_magic(uid, card, &cuid, true, 0);
|
||||
if (res) {
|
||||
mf_reset_card();
|
||||
if (cuid == 0xAA55C396) {
|
||||
flag |= MAGIC_FLAG_GEN_UNFUSED;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user