From 3af2e14accf922cac979f4998f2d0a8f03e17ec3 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Mon, 2 Nov 2020 12:30:59 +0100 Subject: [PATCH] Fix typo in variable name in pcsc.c --- libnfc/drivers/pcsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/drivers/pcsc.c b/libnfc/drivers/pcsc.c index 3f65266..200a11d 100644 --- a/libnfc/drivers/pcsc.c +++ b/libnfc/drivers/pcsc.c @@ -352,7 +352,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(ataq[0] = 0x00 || atqa[0] == 0x03) + if(atqa[0] = 0x00 || atqa[0] == 0x03) { memcpy(pnt->nti.nai.abtAtqa,atqa,2); }else {