summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-09-22 20:57:48 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-09-22 20:57:48 +0000
commit66547428ea4535546c401bf3fd8e8a2702402daa (patch)
tree2aadde963bb260386e8eafe417981d9234b2bfa4 /src
parent341afde582ea832a5573b4df2e584a1ddae2efb9 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/rfid_layer2_iso14443a.c1
1 files changed, 1 insertions, 0 deletions
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);
personal git repositories of Harald Welte. Your mileage may vary