Add missing timeout
Add a tiemout in pn53x_initiator_select_passive_target() so that we do not get stuck forever when pn533 misses a toggle bit change.
This commit is contained in:
parent
4ae4cc86f8
commit
2418d946a3
1 changed files with 1 additions and 1 deletions
|
@ -1278,7 +1278,7 @@ pn53x_initiator_select_passive_target(struct nfc_device *pnd,
|
|||
const uint8_t *pbtInitData, const size_t szInitData,
|
||||
nfc_target *pnt)
|
||||
{
|
||||
return pn53x_initiator_select_passive_target_ext(pnd, nm, pbtInitData, szInitData, pnt, 0);
|
||||
return pn53x_initiator_select_passive_target_ext(pnd, nm, pbtInitData, szInitData, pnt, 300);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue