aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn533.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-03-04 19:03:45 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-03-06 15:16:22 -0500
commit7975754f61b8e87ad0b34509a94c54c8d19ea15d (patch)
tree1bf8ec051c5c7500a755bfa91b2a12e3ff6334fc /drivers/nfc/pn533.c
parente65b0f46edfda746ba8c66ada28ccb97c682b7c0 (diff)
NFC: Export sensf from pn533
sensf is the detection response for Felica NFC tags. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/nfc/pn533.c')
-rw-r--r--drivers/nfc/pn533.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index a5766042f0ee..353bab775d7d 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -783,6 +783,9 @@ static int pn533_target_found_felica(struct nfc_target *nfc_tgt, u8 *tgt_data,
783 else 783 else
784 nfc_tgt->supported_protocols = NFC_PROTO_FELICA_MASK; 784 nfc_tgt->supported_protocols = NFC_PROTO_FELICA_MASK;
785 785
786 memcpy(nfc_tgt->sensf_res, &tgt_felica->opcode, 9);
787 nfc_tgt->sensf_res_len = 9;
788
786 return 0; 789 return 0;
787} 790}
788 791