Merge pull request #639 from rstular/fix-atqa-comparison
Fix - assignment instead of comparison (PCSC driver)
This commit is contained in:
commit
c8185c9eca
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ static int pcsc_props_to_target(struct nfc_device *pnd, uint8_t it, const uint8_
|
|||
uint8_t atqa[2];
|
||||
pcsc_get_atqa(pnd, atqa, sizeof(atqa));
|
||||
//ATQA Coding of NXP Contactless Card ICs
|
||||
if(atqa[0] = 0x00 || atqa[0] == 0x03)
|
||||
if(atqa[0] == 0x00 || atqa[0] == 0x03)
|
||||
{
|
||||
memcpy(pnt->nti.nai.abtAtqa,atqa,2);
|
||||
}else {
|
||||
|
|
Loading…
Reference in a new issue