aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-06-28 09:43:19 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-08-13 18:35:17 -0400
commita94e10f7d7ce8e22d3d1cfebdfb7fe0451714799 (patch)
treed15f33945cb926e0c555ec6c2c5b762be99d7e8e /drivers/nfc
parent17e9d9d437d1bb52077e562fae9457236dbaa76f (diff)
NFC: pn533: Request System code from SENSF_REQ
Some devices are getting confused when not being asked for their system code with 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 fe9d4b7b6078..fa12f59cf7b9 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -257,7 +257,7 @@ static const struct pn533_poll_modulations poll_mod[] = {
257 .initiator_data.felica = { 257 .initiator_data.felica = {
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_SYSTEM_CODE,
261 .tsn = 0x03, 261 .tsn = 0x03,
262 }, 262 },
263 }, 263 },
@@ -270,7 +270,7 @@ static const struct pn533_poll_modulations poll_mod[] = {
270 .initiator_data.felica = { 270 .initiator_data.felica = {
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_SYSTEM_CODE,
274 .tsn = 0x03, 274 .tsn = 0x03,
275 }, 275 },
276 }, 276 },