Fix MIFARE UltraLight UID length.
Okay, either I lost some code somewhere, or I am really mad _AND_ fu**ing good at writing C code 'cause I am pretty sure I already fixed that at the very beginning of the UltraLight tags support and only after wrote all these test I don't have to modify so they pass.
This commit is contained in:
parent
4c2da817f0
commit
1b6d7ab210
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ mifare_ultralight_connect (MifareUltralightTag tag)
|
||||||
ASSERT_INACTIVE (tag);
|
ASSERT_INACTIVE (tag);
|
||||||
|
|
||||||
nfc_target_info_t pnti;
|
nfc_target_info_t pnti;
|
||||||
if (nfc_initiator_select_tag (tag->device, NM_ISO14443A_106, tag->info.abtUid, 7, &pnti)) {
|
if (nfc_initiator_select_tag (tag->device, NM_ISO14443A_106, tag->info.abtUid, 8, &pnti)) {
|
||||||
tag->active = 1;
|
tag->active = 1;
|
||||||
} else {
|
} else {
|
||||||
errno = EIO;
|
errno = EIO;
|
||||||
|
|
Loading…
Add table
Reference in a new issue