summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSunil Jogi <sunil.jogi@nxp.com>2012-02-23 14:17:06 -0800
committerMartijn Coenen <maco@google.com>2012-03-05 13:35:35 -0800
commit21e3ef10d17f32291873006bdec560dea8b6f9bb (patch)
tree92a135e98d7be32f812a9ef7ce8011ee3fe8557a /src
parent3013fc787a24e3d20e4c36744062002a5b7be865 (diff)
downloadexternal_libnfc-nxp-21e3ef10d17f32291873006bdec560dea8b6f9bb.zip
external_libnfc-nxp-21e3ef10d17f32291873006bdec560dea8b6f9bb.tar.gz
external_libnfc-nxp-21e3ef10d17f32291873006bdec560dea8b6f9bb.tar.bz2
Support for handling of proprietry TLV in T4T
If CC file is including proprietory TLV then Check NDEF was returning tag is not NDEF compilant. This patch fix that problem. Change-Id: I28e7701c7d6e78de8b19b93d09789c09fa9357bd
Diffstat (limited to 'src')
-rw-r--r--src/phFriNfc_DesfireMap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phFriNfc_DesfireMap.c b/src/phFriNfc_DesfireMap.c
index 6f132ea..d2f68dd 100644
--- a/src/phFriNfc_DesfireMap.c
+++ b/src/phFriNfc_DesfireMap.c
@@ -1671,7 +1671,7 @@ NFCSTATUS phFriNfc_Desfire_Update_SmartTagCapContainer(phFriNfc_NdefMap_t *N
}
/* check for the entire LENGTH Validity
CCLEN + TLV L value == CCLEN*/
- if ( CapContSize != CCLen )
+ if ( CapContSize < CCLen )
{
ErrFlag=1;
}