From 5fc01ff6f98d72219420bc29fb59d2d6eb93e887 Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 22 Oct 2005 20:20:21 +0000 Subject: - add mifare classic support - move uid/pupi from l2 private data into l2 global data - various cleanups git-svn-id: https://svn.gnumonks.org/trunk/librfid@1555 e0336214-984f-0b4b-a45f-81c69e1f0ede --- rfid_proto_tcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rfid_proto_tcl.c') diff --git a/rfid_proto_tcl.c b/rfid_proto_tcl.c index 5b63607..248eea5 100644 --- a/rfid_proto_tcl.c +++ b/rfid_proto_tcl.c @@ -397,7 +397,7 @@ tcl_connect(struct rfid_protocol_handle *h) } /* PUPI will be presented as ATS/historical bytes */ - memcpy(h->priv.tcl.ats, h->l2h->priv.iso14443b.pupi, 4); + memcpy(h->priv.tcl.ats, h->l2h->uid, 4); h->priv.tcl.ats_len = 4; h->priv.tcl.historical_bytes = h->priv.tcl.ats; -- cgit v1.2.3