Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7975754f authored by Samuel Ortiz's avatar Samuel Ortiz Committed by John W. Linville
Browse files

NFC: Export sensf from pn533



sensf is the detection response for Felica NFC tags.

Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e65b0f46
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -783,6 +783,9 @@ static int pn533_target_found_felica(struct nfc_target *nfc_tgt, u8 *tgt_data,
	else
	else
		nfc_tgt->supported_protocols = NFC_PROTO_FELICA_MASK;
		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;
	return 0;
}
}