NFC: digital: Add Type4A tags support
authorShikha Singh <shikha.singh@st.com>
Fri, 20 Nov 2015 11:40:19 +0000 (06:40 -0500)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 29 Dec 2015 18:06:05 +0000 (19:06 +0100)
The definition of DIGITAL_PROTO_NFCA_RF_TECH is modified to support
ISO14443 Type4A tags. Without this change it is not possible to start
polling for ISO14443 Type4A tags from the initiator side.

Signed-off-by: Shikha Singh <shikha.singh@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/digital_core.c

index 23c2a118ac9f98c3cfd11c871a9126664f54838e..dd9003f388225f80b7a65f8a7f4678a423b35428 100644 (file)
@@ -20,7 +20,8 @@
 #include "digital.h"
 
 #define DIGITAL_PROTO_NFCA_RF_TECH \
-       (NFC_PROTO_JEWEL_MASK | NFC_PROTO_MIFARE_MASK | NFC_PROTO_NFC_DEP_MASK)
+       (NFC_PROTO_JEWEL_MASK | NFC_PROTO_MIFARE_MASK | \
+       NFC_PROTO_NFC_DEP_MASK | NFC_PROTO_ISO14443_MASK)
 
 #define DIGITAL_PROTO_NFCB_RF_TECH     NFC_PROTO_ISO14443_B_MASK