mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 13:23:25 -07:00
fix transmitting too many bytes to host in case of a failed SetPassSlixLIso15693
This commit is contained in:
parent
3d411bee02
commit
8be3a37bb9
1 changed files with 2 additions and 2 deletions
|
@ -1834,13 +1834,13 @@ void DisablePrivacySlixLIso15693(uint32_t password) {
|
||||||
switch(SetPassSlixLIso15693(start_time, &eof_time, 4, password)) {
|
switch(SetPassSlixLIso15693(start_time, &eof_time, 4, password)) {
|
||||||
case SLIX_ERR_NORESP:
|
case SLIX_ERR_NORESP:
|
||||||
Dbprintf(" [i] No tag found");
|
Dbprintf(" [i] No tag found");
|
||||||
cmd_send(CMD_NACK, 0, 0, 0, NULL, ISO15693_MAX_RESPONSE_LENGTH);
|
cmd_send(CMD_NACK, 0, 0, 0, NULL, 0);
|
||||||
LED_C_ON();
|
LED_C_ON();
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case SLIX_ERR_INVPASS:
|
case SLIX_ERR_INVPASS:
|
||||||
Dbprintf(" [E] Password was not accepted");
|
Dbprintf(" [E] Password was not accepted");
|
||||||
cmd_send(CMD_NACK, 1, 0, 0, NULL, ISO15693_MAX_RESPONSE_LENGTH);
|
cmd_send(CMD_NACK, 1, 0, 0, NULL, 0);
|
||||||
LED_B_ON();
|
LED_B_ON();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue