diff options
author | Martijn Coenen <martijn.coenen@nxp.com> | 2010-11-01 18:04:23 -0600 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2010-11-02 12:18:22 -0500 |
commit | e412592604324251679fd57d70fe0bbbf776206b (patch) | |
tree | 4d806bfbc96b40dfb03ba52663450cee146deff7 /src/phHal4Nfc_ADD.c | |
parent | bcd4097d93d61a86839412879f9ccf4ed303ee15 (diff) | |
download | external_libnfc-nxp-e412592604324251679fd57d70fe0bbbf776206b.zip external_libnfc-nxp-e412592604324251679fd57d70fe0bbbf776206b.tar.gz external_libnfc-nxp-e412592604324251679fd57d70fe0bbbf776206b.tar.bz2 |
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 <npelly@google.com>
Diffstat (limited to 'src/phHal4Nfc_ADD.c')
-rw-r--r-- | src/phHal4Nfc_ADD.c | 5 |
1 files changed, 4 insertions, 1 deletions
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*/ |