X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/3c6354e99a34b09e6cdcba1961033aca4b98710c..137f207a8d18365eac183588910c5abdc693f76b:/client/cmdlfem4x.c?ds=sidebyside diff --git a/client/cmdlfem4x.c b/client/cmdlfem4x.c index d139724c..02af547a 100644 --- a/client/cmdlfem4x.c +++ b/client/cmdlfem4x.c @@ -150,14 +150,9 @@ int CmdEM410xWatch(const char *Cmd) int CmdEM410xWatchnSpoof(const char *Cmd) { // loops if the captured ID was in XL-format. - uint8_t ans = 0; - do { - ans = CmdEM410xWatch(Cmd); - if ( ans ) { - PrintAndLog("# Replaying captured ID: %llu", g_em410xid); - CmdLFaskSim(""); - } - } while ( !ans ); + CmdEM410xWatch(Cmd); + PrintAndLog("# Replaying captured ID: %llu", g_em410xid); + CmdLFaskSim(""); return 0; }