diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-04 19:03:33 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-06 15:16:19 -0500 |
commit | c3b1e1e8a76fdaa507daaa95ba7bd1d8d0c74b6b (patch) | |
tree | 2d2ccf218538506728481a8153d0fd88c3684560 /drivers/nfc | |
parent | 10d8493cd9efd38b1947b7a74276dbdc8311aa1a (diff) |
NFC: Export NFCID1 from pn533
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c index 1a1500bc8452..8be0ae626d73 100644 --- a/drivers/nfc/pn533.c +++ b/drivers/nfc/pn533.c | |||
@@ -736,6 +736,8 @@ static int pn533_target_found_type_a(struct nfc_target *nfc_tgt, u8 *tgt_data, | |||
736 | 736 | ||
737 | nfc_tgt->sens_res = be16_to_cpu(tgt_type_a->sens_res); | 737 | nfc_tgt->sens_res = be16_to_cpu(tgt_type_a->sens_res); |
738 | nfc_tgt->sel_res = tgt_type_a->sel_res; | 738 | nfc_tgt->sel_res = tgt_type_a->sel_res; |
739 | nfc_tgt->nfcid1_len = tgt_type_a->nfcid_len; | ||
740 | memcpy(nfc_tgt->nfcid1, tgt_type_a->nfcid_data, nfc_tgt->nfcid1_len); | ||
739 | 741 | ||
740 | return 0; | 742 | return 0; |
741 | } | 743 | } |