summaryrefslogtreecommitdiff
path: root/openpicc/application
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-18 16:10:37 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-18 16:10:37 +0000
commitbdadf6c1515e8a6d8ea29e4b98f7afab0bea1f08 (patch)
tree0310373f2819f2279d87a74e3b6aae1a422d5731 /openpicc/application
parentd2319edef08dfeb0995401a6a5c185cdab7fbb32 (diff)
this would be the more correct parity value
git-svn-id: https://svn.openpcd.org:2342/trunk@468 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application')
-rw-r--r--openpicc/application/iso14443a_diffmiller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpicc/application/iso14443a_diffmiller.c b/openpicc/application/iso14443a_diffmiller.c
index 0c00107..91145cd 100644
--- a/openpicc/application/iso14443a_diffmiller.c
+++ b/openpicc/application/iso14443a_diffmiller.c
@@ -166,6 +166,7 @@ static inline void end_frame(struct diffmiller_state * const state, const u_int3
append_to_frame(state, state->byte, 0, counter);
}
+ state->frame->parameters.a.parity = GIVEN_PARITY;
if(!state->crc)
state->frame->parameters.a.crc = CRC_OK;
else
personal git repositories of Harald Welte. Your mileage may vary