mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-11 18:13:46 +00:00
Fix a regression introduced at r461.
This prevents the ATR_REQ from being processed and some tags detection fails in libfreefare.
This commit is contained in:
@@ -294,7 +294,7 @@ pn53x_InListPassiveTarget(const nfc_device_t* pnd,
|
|||||||
size_t szRxLen = MAX_FRAME_LEN;
|
size_t szRxLen = MAX_FRAME_LEN;
|
||||||
// We can not use pn53x_transceive() because abtRx[0] gives no status info
|
// We can not use pn53x_transceive() because abtRx[0] gives no status info
|
||||||
if(pnd->pdc->transceive(pnd->nds,abtCmd,4+szInitiatorDataLen,pbtTargetsData,&szRxLen)) {
|
if(pnd->pdc->transceive(pnd->nds,abtCmd,4+szInitiatorDataLen,pbtTargetsData,&szRxLen)) {
|
||||||
*pszTargetsData = pbtTargetsData[0];
|
*pszTargetsData = szRxLen;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user