summaryrefslogtreecommitdiff
path: root/firmware/src/pcd/rfid_layer2_iso14443a.c
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-20 12:08:08 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-20 12:08:08 +0000
commiteecad3322a0f5822378d7d9644879c9fe41f35d9 (patch)
tree0fb8a20475d971f1f2c5333e7ad65139e3b45630 /firmware/src/pcd/rfid_layer2_iso14443a.c
parent514b0f72f50b50b75ef855f008c888f29989d68e (diff)
re-set SAK during every chaining iteration (Henryk Ploetz)
git-svn-id: https://svn.openpcd.org:2342/trunk@209 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src/pcd/rfid_layer2_iso14443a.c')
-rw-r--r--firmware/src/pcd/rfid_layer2_iso14443a.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/src/pcd/rfid_layer2_iso14443a.c b/firmware/src/pcd/rfid_layer2_iso14443a.c
index 923f50b..d4f910d 100644
--- a/firmware/src/pcd/rfid_layer2_iso14443a.c
+++ b/firmware/src/pcd/rfid_layer2_iso14443a.c
@@ -159,6 +159,7 @@ cascade:
}
iso14443a_code_nvb_bits(&acf.nvb, 7*8);
+ rx_len = sizeof(sak);
ret = iso14443a_transceive(handle, RFID_14443A_FRAME_REGULAR,
(unsigned char *)&acf, 7,
(unsigned char *) &sak, &rx_len,
personal git repositories of Harald Welte. Your mileage may vary