File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/nfc-lib/lib-lab/lab-logic/src/main/cpp/tech Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1083,7 +1083,7 @@ struct Iso7816::Impl : IsoTech
1083
1083
if (frame[i] & ATR_TD_MASK)
1084
1084
{
1085
1085
// check presence of TCK (then T!=0 on some of TDk bytes)
1086
- c |= frame[i ] & 0x0f ;
1086
+ c |= frame[n ] & 0x0f ;
1087
1087
1088
1088
// next structural byte
1089
1089
i = n++;
@@ -1380,11 +1380,11 @@ struct Iso7816::Impl : IsoTech
1380
1380
if (atr[i] & ATR_TB_MASK) n++; // skip TBi
1381
1381
if (atr[i] & ATR_TC_MASK) n++; // skip TCi
1382
1382
1383
- // check presence of TDk, and protocol indicator != 0 to trigger TCK check
1383
+ // check presence of TDk, using protocol indicator != 0 to trigger TCK check
1384
1384
if (atr[i] & ATR_TD_MASK)
1385
1385
{
1386
1386
// get protocol indicator
1387
- c |= atr[i ] & 0x0f ;
1387
+ c |= atr[n ] & 0x0f ;
1388
1388
1389
1389
// next structural byte
1390
1390
i = n++;
You can’t perform that action at this time.
0 commit comments