nfc_initiator_select_passive_target(): save current target info also for ISO14443B*
This commit is contained in:
parent
81e1dd715d
commit
e11c5254af
1 changed files with 4 additions and 0 deletions
|
@ -1127,6 +1127,10 @@ pn53x_initiator_select_passive_target_ext(struct nfc_device *pnd,
|
|||
if ((res = pn53x_decode_target_data(abtTargetsData, szTargetsData, CHIP_DATA(pnd)->type, nm.nmt, &(pnt->nti))) < 0) {
|
||||
return res;
|
||||
}
|
||||
if (pn53x_current_target_new(pnd, pnt) == NULL) {
|
||||
pnd->last_error = NFC_ESOFT;
|
||||
return pnd->last_error;
|
||||
}
|
||||
}
|
||||
if (nm.nmt == NMT_ISO14443BI) {
|
||||
// Select tag
|
||||
|
|
Loading…
Add table
Reference in a new issue