mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
NFC: Export sensf from pn533
sensf is the detection response for Felica NFC tags. Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
e65b0f46ed
commit
7975754f61
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue