projects
/
librfid
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
febcde9
)
respect MTU indicated by low-level driver.
author
Harald Welte
<laforge@gnumonks.org>
Wed, 14 Jun 2006 19:47:07 +0000
(19:47 +0000)
committer
Harald Welte
<laforge@gnumonks.org>
Wed, 14 Jun 2006 19:47:07 +0000
(19:47 +0000)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1825
e0336214
-984f-0b4b-a45f-
81c69e1f0ede
src/rfid_proto_tcl.c
patch
|
blob
|
history
diff --git
a/src/rfid_proto_tcl.c
b/src/rfid_proto_tcl.c
index
b7577e3
..
afcfb36
100644
(file)
--- a/
src/rfid_proto_tcl.c
+++ b/
src/rfid_proto_tcl.c
@@
-127,6
+127,8
@@
tcl_parse_ats(struct rfid_protocol_handle *h,
cur = &ats[2];
iso14443_fsdi_to_fsd(&h->priv.tcl.fsc, t0 & 0x0f);
+ if (h->priv.tcl.fsc > h->l2h->rh->ah->mtu)
+ h->priv.tcl.fsc = h->l2h->rh->ah->mtu;
if (t0 & (1 << 4)) {
/* TA is transmitted */