aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/nfc/pn533.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index 353bab775d7d..f5da5ae67ec1 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -828,6 +828,8 @@ static int pn533_target_found_jewel(struct nfc_target *nfc_tgt, u8 *tgt_data,
828 828
829 nfc_tgt->supported_protocols = NFC_PROTO_JEWEL_MASK; 829 nfc_tgt->supported_protocols = NFC_PROTO_JEWEL_MASK;
830 nfc_tgt->sens_res = be16_to_cpu(tgt_jewel->sens_res); 830 nfc_tgt->sens_res = be16_to_cpu(tgt_jewel->sens_res);
831 nfc_tgt->nfcid1_len = 4;
832 memcpy(nfc_tgt->nfcid1, tgt_jewel->jewelid, nfc_tgt->nfcid1_len);
831 833
832 return 0; 834 return 0;
833} 835}