summaryrefslogtreecommitdiff
path: root/firmware/src/pcd/rfid_layer2_iso14443a.c
diff options
context:
space:
mode:
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