From: Samuel Ortiz Date: Mon, 5 Mar 2012 00:03:33 +0000 (+0100) Subject: NFC: Export NFCID1 from pn533 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c3b1e1e8a76fdaa507daaa95ba7bd1d8d0c74b6b;p=linux-beck.git NFC: Export NFCID1 from pn533 Signed-off-by: Samuel Ortiz Signed-off-by: John W. Linville --- 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, nfc_tgt->sens_res = be16_to_cpu(tgt_type_a->sens_res); nfc_tgt->sel_res = tgt_type_a->sel_res; + nfc_tgt->nfcid1_len = tgt_type_a->nfcid_len; + memcpy(nfc_tgt->nfcid1, tgt_type_a->nfcid_data, nfc_tgt->nfcid1_len); return 0; }