From e412592604324251679fd57d70fe0bbbf776206b Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Mon, 1 Nov 2010 18:04:23 -0600 Subject: Fix Mifare plus SL2 detection. Also fixes detection for other tags that are not mifare and not t2t Change-Id: Ia0f2731b967654af5f883f01458413817b5caf57 Signed-off-by: Nick Pelly --- src/phHal4Nfc_ADD.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/phHal4Nfc_ADD.c b/src/phHal4Nfc_ADD.c index 2d9e2fd..dc1f735 100644 --- a/src/phHal4Nfc_ADD.c +++ b/src/phHal4Nfc_ADD.c @@ -475,8 +475,11 @@ void phHal4Nfc_TargetDiscoveryComplete( } Count++; } - else + else if ( !(Sak & ISO_14443_BITMASK) && + !(Sak & NFCIP_BITMASK) ) { + aRemoteDevTypes[Count] = phHal_eISO14443_3A_PICC; + Count++; } } /*Check for P2P target passive*/ -- cgit v1.1