diff --git a/libfreefare/mifare_ultralight.c b/libfreefare/mifare_ultralight.c index 6ee9f7b..a93a7af 100644 --- a/libfreefare/mifare_ultralight.c +++ b/libfreefare/mifare_ultralight.c @@ -141,7 +141,7 @@ mifare_ultralight_connect (MifareUltralightTag tag) ASSERT_INACTIVE (tag); 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; } else { errno = EIO;