Fix Mifare Classic presence check.
And basically any other Nfc-A tag which
is not a Type 2 Tag.
Change-Id: Id70d8b29837dc26dd0e45cd9e5473e64b2ac1062
diff --git a/src/nfa/rw/nfa_rw_act.c b/src/nfa/rw/nfa_rw_act.c
index bcb10e5..dd1e624 100644
--- a/src/nfa/rw/nfa_rw_act.c
+++ b/src/nfa/rw/nfa_rw_act.c
@@ -1824,12 +1824,17 @@
}
else if (NFC_PROTOCOL_T2T == protocol)
{
- /* If T2T NFC-Forum, then let RW handle presence check; otherwise fall through */
+ /* If T2T NFC-Forum, then let RW handle presence check */
if (sel_res == NFC_SEL_RES_NFC_FORUM_T2T)
{
/* Type 2 tag have not sent NACK after activation */
status = RW_T2tPresenceCheck();
}
+ else
+ {
+ /* Will fall back to deactivate/reactivate */
+ unsupported = TRUE;
+ }
}
else if (NFC_PROTOCOL_T3T == protocol)
{