summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rfid_proto_tcl.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/rfid_proto_tcl.c b/src/rfid_proto_tcl.c
index 4a92c62..ae47f87 100644
--- a/src/rfid_proto_tcl.c
+++ b/src/rfid_proto_tcl.c
@@ -150,10 +150,14 @@ tcl_parse_ats(struct rfid_protocol_handle *h,
if (t0 & (1 << 6)) {
/* TC is transmitted */
- if (*cur & 0x01)
+ if (*cur & 0x01) {
h->priv.tcl.flags |= TCL_HANDLE_F_NAD_SUPPORTED;
- if (*cur & 0x02)
+ DEBUGP("This PICC supports NAD\n");
+ }
+ if (*cur & 0x02) {
h->priv.tcl.flags |= TCL_HANDLE_F_CID_SUPPORTED;
+ DEBUGP("This PICC supports CID\n");
+ }
cur++;
}
personal git repositories of Harald Welte. Your mileage may vary