diff options
author | Martijn Coenen <martijn.coenen@nxp.com> | 2010-11-02 10:08:13 -0600 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2010-11-02 17:27:38 -0500 |
commit | 2690dbd9a65c64f850f2a587b20712551fe39159 (patch) | |
tree | 8e96dd1a146cbd4e6e1d8a2701c68c57260dc3e5 /src/phHal4Nfc_Reader.c | |
parent | 2a8c6e7fcd72d7db1a3da43c8fb4fe0752699f7f (diff) | |
download | external_libnfc-nxp-2690dbd9a65c64f850f2a587b20712551fe39159.zip external_libnfc-nxp-2690dbd9a65c64f850f2a587b20712551fe39159.tar.gz external_libnfc-nxp-2690dbd9a65c64f850f2a587b20712551fe39159.tar.bz2 |
Allow MF Raw access for all non-Mifare -3 cards.
Change-Id: I254437ced00f32a8662c351f2a128facfcfcda81
Signed-off-by: Nick Pelly <npelly@google.com>
Diffstat (limited to 'src/phHal4Nfc_Reader.c')
-rw-r--r-- | src/phHal4Nfc_Reader.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/phHal4Nfc_Reader.c b/src/phHal4Nfc_Reader.c index acb4060..70f9461 100644 --- a/src/phHal4Nfc_Reader.c +++ b/src/phHal4Nfc_Reader.c @@ -310,9 +310,11 @@ static void phHal4Nfc_MifareTransceive( ) { uint16_t counter; - if ((psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.Sak == 0x00) + if ( #ifndef DISABLE_MIFARE_UL_WRITE_WORKAROUND - &&(phHal_eMifareWrite4 != psTransceiveInfo->sSendData.buffer[0]) + phHal_eMifareWrite4 != psTransceiveInfo->sSendData.buffer[0] +#else + 1 #endif/*#ifndef DISABLE_MIFARE_UL_WRITE_WORKAROUND*/ ) |