From 1675b10c009646fddf4b8a384ca3a7bf5f18fb12 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Wed, 20 Feb 2019 21:15:44 +0200 Subject: [PATCH] small fix --- client/mifarehost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mifarehost.c b/client/mifarehost.c index 817f99c93..ba5081441 100644 --- a/client/mifarehost.c +++ b/client/mifarehost.c @@ -435,7 +435,7 @@ int mfReadSector(uint8_t sectorNo, uint8_t keyType, uint8_t *key, uint8_t *data) return 0; } else { - return 1; + return isOK; } } else { PrintAndLogEx(ERR, "Command execute timeout");