FIX: client crash for global id, and removing my previous fix.

This commit is contained in:
iceman1001 2016-10-20 17:31:23 +02:00
parent c528cf3989
commit 36d87eeff0

View file

@ -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;
}