From 21e3ef10d17f32291873006bdec560dea8b6f9bb Mon Sep 17 00:00:00 2001 From: Sunil Jogi Date: Thu, 23 Feb 2012 14:17:06 -0800 Subject: 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 --- src/phFriNfc_DesfireMap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.1