mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-30 07:29:42 -05:00
NFC: Export NFCID1 from pn533
Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
10d8493cd9
commit
c3b1e1e8a7
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue