From: iceman1001 Date: Sun, 31 May 2015 19:49:00 +0000 (+0200) Subject: FIX: minor fix to the magictest function. It always makes a select tag first, but... X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/e86a89044a970266c76c09d5982f03f3ce95b0f3?ds=sidebyside 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. --- 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;