mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 23:30:53 +07:00
NFC: Export sensf from pn533
sensf is the detection response for Felica NFC tags. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
e65b0f46ed
commit
7975754f61
@ -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 New Issue
Block a user