nfc-relay-picc: Fix received bytes count
This commit is contained in:
parent
9815ac728f
commit
0ac3b26982
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ main(int argc, char *argv[])
|
||||||
if ((res = nfc_initiator_transceive_bytes(pndInitiator, abtCapdu, szCapduLen, abtRapdu, sizeof(abtRapdu), -1) < 0)) {
|
if ((res = nfc_initiator_transceive_bytes(pndInitiator, abtCapdu, szCapduLen, abtRapdu, sizeof(abtRapdu), -1) < 0)) {
|
||||||
ret = false;
|
ret = false;
|
||||||
} else {
|
} else {
|
||||||
szCapduLen = (size_t) res;
|
szRapduLen = (size_t) res;
|
||||||
ret = true;
|
ret = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue