From e86a89044a970266c76c09d5982f03f3ce95b0f3 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 31 May 2015 21:49:00 +0200 Subject: [PATCH] FIX: minor fix to the magictest function. It always makes a select tag first, but never took in consideration that the tag already could have been selected. --- client/cmdhfmfu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/cmdhfmfu.c b/client/cmdhfmfu.c index 0eb19b4a..027214ab 100644 --- a/client/cmdhfmfu.c +++ b/client/cmdhfmfu.c @@ -522,6 +522,7 @@ static int ul_magic_test(){ // Magic Ultralight tests // 1) take present UID, and try to write it back. OBSOLETE // 2) make a wrong length write to page0, and see if tag answers with ACK/NACK: + ul_switch_off_field(); iso14a_card_select_t card; if ( !ul_select(&card) ) return UL_ERROR; -- 2.39.5