summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaniel_Tomas <daniel.tomas@trusted-logic.com>2010-12-01 13:15:32 +0100
committerNick Pelly <npelly@google.com>2010-12-05 13:15:36 -0800
commitd1e3b1245b00df78329b90f396d2a7fa92e6644e (patch)
tree23322ffbce6f2c46aece39626377a14bf7ed8482
parent1927b9d35c5efe26676c1dae78e3d1ab906f7586 (diff)
downloadexternal_libnfc-nxp-d1e3b1245b00df78329b90f396d2a7fa92e6644e.zip
external_libnfc-nxp-d1e3b1245b00df78329b90f396d2a7fa92e6644e.tar.gz
external_libnfc-nxp-d1e3b1245b00df78329b90f396d2a7fa92e6644e.tar.bz2
Fix for presence check management after transceive failed
Change-Id: I4ee3109710de339d105bd3e2721114b62d883275
-rw-r--r--src/phLibNfc_initiator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/phLibNfc_initiator.c b/src/phLibNfc_initiator.c
index 5cd14bb..ea0d81f 100644
--- a/src/phLibNfc_initiator.c
+++ b/src/phLibNfc_initiator.c
@@ -963,6 +963,7 @@ void phLibNfc_RemoteDev_Transceive_Cb(void *context,
(phHal_eMifare_PICC == pRmtdev_info->RemDevType) &&
(0x00 != pRmtdev_info->RemoteDevInfo.Iso14443A_Info.Sak))
{
+ gpphLibContext->LastTrancvSuccess = FALSE;
trans_status = NFCSTATUS_FAILED;
/* card type is mifare 1k/4k, then reconnect */
trans_status = phHal4Nfc_Connect(gpphLibContext->psHwReference,