summaryrefslogtreecommitdiff
path: root/rfid_proto_tcl.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfid_proto_tcl.c')
-rw-r--r--rfid_proto_tcl.c2
1 files changed, 1 insertions, 1 deletions
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;
personal git repositories of Harald Welte. Your mileage may vary