summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}