From 3b1d90fae2efb52b0b3225be2d4a3dfde22adbbb Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 22 Sep 2006 21:10:01 +0000 Subject: fix a wrong memset length (we want length of atqa, not length of the pointer to it). git-svn-id: https://svn.openpcd.org:2342/trunk@216 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/src/pcd/rc632_highlevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/src') diff --git a/firmware/src/pcd/rc632_highlevel.c b/firmware/src/pcd/rc632_highlevel.c index 34a28c7..825b760 100644 --- a/firmware/src/pcd/rc632_highlevel.c +++ b/firmware/src/pcd/rc632_highlevel.c @@ -650,7 +650,7 @@ rc632_iso14443a_transceive_sf(struct rfid_asic_handle *handle, u_int8_t rx_len = 2; DEBUGPCRF(""); - memset(atqa, 0, sizeof(atqa)); + memset(atqa, 0, sizeof(*atqa)); tx_buf[0] = cmd; -- cgit v1.2.3