diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-05 04:03:45 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-07 00:16:22 +0400 |
commit | 7975754f61b8e87ad0b34509a94c54c8d19ea15d (patch) | |
tree | 1bf8ec051c5c7500a755bfa91b2a12e3ff6334fc /drivers/nfc | |
parent | e65b0f46edfda746ba8c66ada28ccb97c682b7c0 (diff) | |
download | linux-7975754f61b8e87ad0b34509a94c54c8d19ea15d.tar.xz |
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')
-rw-r--r-- | drivers/nfc/pn533.c | 3 |
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, else nfc_tgt->supported_protocols = NFC_PROTO_FELICA_MASK; + memcpy(nfc_tgt->sensf_res, &tgt_felica->opcode, 9); + nfc_tgt->sensf_res_len = 9; + return 0; } |