Skip to content

Commit 638bf82

Browse files
committed
nfc: remove auth record in fff
1 parent 64f4aff commit 638bf82

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/nfc/nfc_device.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,6 @@ static bool nfc_device_save_mifare_ul_data(FlipperFormat* file, NfcDevice* dev)
137137
}
138138
if(!pages_saved) break;
139139

140-
// Write authentication counter
141-
uint32_t auth_counter = data->curr_authlim;
142-
if(!flipper_format_write_uint32(file, "Failed authentication attempts", &auth_counter, 1))
143-
break;
144-
145140
saved = true;
146141
} while(false);
147142

@@ -206,11 +201,6 @@ bool nfc_device_load_mifare_ul_data(FlipperFormat* file, NfcDevice* dev) {
206201
}
207202
if(!pages_parsed) break;
208203

209-
// Read authentication counter
210-
uint32_t auth_counter;
211-
if(!flipper_format_read_uint32(file, "Failed authentication attempts", &auth_counter, 1))
212-
auth_counter = 0;
213-
214204
parsed = true;
215205
} while(false);
216206

0 commit comments

Comments
 (0)