summaryrefslogtreecommitdiffstats
path: root/net/nfc/digital_core.c
diff options
context:
space:
mode:
authorShikha Singh <shikha.singh@st.com>2015-11-20 12:40:19 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-12-29 19:06:05 +0100
commitce2e56cdfbb010e22073d303161e74c144ebe731 (patch)
tree4268336b34da98cc73de8b9fa70b55b63233a08e /net/nfc/digital_core.c
parentNFC: add rx delay sysfs parameter for nfcsim workqueue (diff)
downloadlinux-ce2e56cdfbb010e22073d303161e74c144ebe731.tar.xz
linux-ce2e56cdfbb010e22073d303161e74c144ebe731.zip
NFC: digital: Add Type4A tags support
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>
Diffstat (limited to 'net/nfc/digital_core.c')
-rw-r--r--net/nfc/digital_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/nfc/digital_core.c b/net/nfc/digital_core.c
index 23c2a118ac9f..dd9003f38822 100644
--- a/net/nfc/digital_core.c
+++ b/net/nfc/digital_core.c
@@ -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