NFC: pn533: Request System code from SENSF_REQ
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 28 Jun 2013 13:43:19 +0000 (15:43 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 13 Aug 2013 22:35:17 +0000 (00:35 +0200)
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>
drivers/nfc/pn533.c

index fe9d4b7b60788e79a1080c3140ab1d0788e6b424..fa12f59cf7b97736f3751497c719e35cc4daaddf 100644 (file)
@@ -257,7 +257,7 @@ static const struct pn533_poll_modulations poll_mod[] = {
                        .initiator_data.felica = {
                                .opcode = PN533_FELICA_OPC_SENSF_REQ,
                                .sc = PN533_FELICA_SENSF_SC_ALL,
-                               .rc = PN533_FELICA_SENSF_RC_NO_SYSTEM_CODE,
+                               .rc = PN533_FELICA_SENSF_RC_SYSTEM_CODE,
                                .tsn = 0x03,
                        },
                },
@@ -270,7 +270,7 @@ static const struct pn533_poll_modulations poll_mod[] = {
                        .initiator_data.felica = {
                                .opcode = PN533_FELICA_OPC_SENSF_REQ,
                                .sc = PN533_FELICA_SENSF_SC_ALL,
-                               .rc = PN533_FELICA_SENSF_RC_NO_SYSTEM_CODE,
+                               .rc = PN533_FELICA_SENSF_RC_SYSTEM_CODE,
                                .tsn = 0x03,
                        },
                 },