From 66547428ea4535546c401bf3fd8e8a2702402daa Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 22 Sep 2006 20:57:48 +0000 Subject: re-initialize sak rx_len for each cascade level (Henryk Ploetz) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1885 e0336214-984f-0b4b-a45f-81c69e1f0ede --- src/rfid_layer2_iso14443a.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rfid_layer2_iso14443a.c b/src/rfid_layer2_iso14443a.c index 839cffe..a83c71a 100644 --- a/src/rfid_layer2_iso14443a.c +++ b/src/rfid_layer2_iso14443a.c @@ -140,6 +140,7 @@ iso14443a_anticol(struct rfid_layer2_handle *handle) h->level = ISO14443A_LEVEL_CL1; cascade: + rx_len = sizeof(sak); iso14443a_code_nvb_bits(&acf.nvb, 16); ret = iso14443a_transceive_acf(handle, &acf, &bit_of_col); -- cgit v1.2.3