Add missing timeout
There are situations where pn533 becomes unresponsive. libnfc has workarounds, but they can only be used if it avoids to get stuck in some USB transfer with no timeout set. This changes fixes such a situation.
This commit is contained in:
parent
4ae4cc86f8
commit
df14d509d5
@ -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…
x
Reference in New Issue
Block a user