summaryrefslogtreecommitdiffstats
path: root/src/phFriNfc_NdefMap.c
diff options
context:
space:
mode:
authorSunil Jogi <sunil.jogi@nxp.com>2011-11-23 15:06:27 -0800
committerMartijn Coenen <maco@google.com>2012-04-02 10:34:02 -0700
commiteb6da80b266a263350769a0e5629f4089aad32bb (patch)
tree711d3f93c263d67a91e85e88e7427b1d540320b3 /src/phFriNfc_NdefMap.c
parentcadb46ba3abc0250999257e95b5e2c80ef3dd474 (diff)
downloadexternal_libnfc-nxp-eb6da80b266a263350769a0e5629f4089aad32bb.zip
external_libnfc-nxp-eb6da80b266a263350769a0e5629f4089aad32bb.tar.gz
external_libnfc-nxp-eb6da80b266a263350769a0e5629f4089aad32bb.tar.bz2
Patch to support MIFARE with SAK 0x01
Change-Id: Ifb1389d428855c2eea99390790af13f28571097a
Diffstat (limited to 'src/phFriNfc_NdefMap.c')
-rw-r--r--src/phFriNfc_NdefMap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/phFriNfc_NdefMap.c b/src/phFriNfc_NdefMap.c
index bd82e7a..7e195f2 100644
--- a/src/phFriNfc_NdefMap.c
+++ b/src/phFriNfc_NdefMap.c
@@ -778,7 +778,8 @@ NFCSTATUS phFriNfc_NdefMap_ChkNdef( phFriNfc_NdefMap_t *NdefMap)
#endif /* PH_FRINFC_MAP_MIFAREUL_DISABLED*/
}
else if ((0x08 == (sak & 0x18)) ||
- (0x18 == (sak & 0x18)))
+ (0x18 == (sak & 0x18)) ||
+ (0x01 == sak))
{
/* The SAK/Sel_Res says the card is of the type
Mifare Standard */