aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iso14443.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2016-02-15 21:51:16 +0100
committerMartin Kaiser <wireshark@kaiser.cx>2016-02-15 20:58:24 +0000
commit076784cdaee4721e4bce94824b5b92db9888d28a (patch)
treea0e3b32b71040edaec61d176d7bf04e9752f93ea /epan/dissectors/packet-iso14443.c
parent338a0c74e3939b99cfc6c0655b35c22e37b02338 (diff)
iso14443: fix the order of the ATS bytes
TL and T0 are followed by TA(1), TB(1) and TC(1), in this order Change-Id: I356da8bb475d55f36e5b9ff02d35fcf35c457223 Reviewed-on: https://code.wireshark.org/review/13961 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-iso14443.c')
-rw-r--r--epan/dissectors/packet-iso14443.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-iso14443.c b/epan/dissectors/packet-iso14443.c
index f44b89f550..25fc454468 100644
--- a/epan/dissectors/packet-iso14443.c
+++ b/epan/dissectors/packet-iso14443.c
@@ -604,8 +604,8 @@ static int dissect_iso14443_ats(tvbuff_t *tvb, gint offset,
}
offset++;
}
- if (t0 & HAVE_TC1) {
- proto_tree_add_item(tree, hf_iso14443_tc1,
+ if (t0 & HAVE_TA1) {
+ proto_tree_add_item(tree, hf_iso14443_ta1,
tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
}
@@ -618,8 +618,8 @@ static int dissect_iso14443_ats(tvbuff_t *tvb, gint offset,
tvb, offset*8, 4, fwi, "%d", fwi);
offset++;
}
- if (t0 & HAVE_TA1) {
- proto_tree_add_item(tree, hf_iso14443_ta1,
+ if (t0 & HAVE_TC1) {
+ proto_tree_add_item(tree, hf_iso14443_tc1,
tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
}