From eecad3322a0f5822378d7d9644879c9fe41f35d9 Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 20 Sep 2006 12:08:08 +0000 Subject: re-set SAK during every chaining iteration (Henryk Ploetz) git-svn-id: https://svn.openpcd.org:2342/trunk@209 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/src/pcd/rfid_layer2_iso14443a.c | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/src') 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, -- cgit v1.2.3