mirror of
https://github.com/Proxmark/proxmark3.git
synced 2024-11-10 17:30:07 +08: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)) {
|
||||
case SLIX_ERR_NORESP:
|
||||
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();
|
||||
return;
|
||||
|
||||
case SLIX_ERR_INVPASS:
|
||||
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();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue