aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-05-27 08:59:40 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-06-14 07:44:17 -0400
commit31c44464acb8152db5745da700be58ac95ba0a83 (patch)
tree0766956d875be42f4fd8e8a42af30a3cac03760b /drivers/nfc
parent391d8a2da787257aeaf952c974405b53926e3fb3 (diff)
NFC: pn533: Use 0x3 for SENSF_REQ Time Slot Number (TSN)
LLCP validation requires TSN to be 0x03 for type F. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/pn533.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index 0bdfa8852e78..6bd4f598b3e1 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -258,7 +258,7 @@ static const struct pn533_poll_modulations poll_mod[] = {
258 .opcode = PN533_FELICA_OPC_SENSF_REQ, 258 .opcode = PN533_FELICA_OPC_SENSF_REQ,
259 .sc = PN533_FELICA_SENSF_SC_ALL, 259 .sc = PN533_FELICA_SENSF_SC_ALL,
260 .rc = PN533_FELICA_SENSF_RC_NO_SYSTEM_CODE, 260 .rc = PN533_FELICA_SENSF_RC_NO_SYSTEM_CODE,
261 .tsn = 0, 261 .tsn = 0x03,
262 }, 262 },
263 }, 263 },
264 .len = 7, 264 .len = 7,
@@ -271,7 +271,7 @@ static const struct pn533_poll_modulations poll_mod[] = {
271 .opcode = PN533_FELICA_OPC_SENSF_REQ, 271 .opcode = PN533_FELICA_OPC_SENSF_REQ,
272 .sc = PN533_FELICA_SENSF_SC_ALL, 272 .sc = PN533_FELICA_SENSF_SC_ALL,
273 .rc = PN533_FELICA_SENSF_RC_NO_SYSTEM_CODE, 273 .rc = PN533_FELICA_SENSF_RC_NO_SYSTEM_CODE,
274 .tsn = 0, 274 .tsn = 0x03,
275 }, 275 },
276 }, 276 },
277 .len = 7, 277 .len = 7,