fix: adapting to run all strategies.

This commit is contained in:
iceman1001 2017-12-18 12:14:02 +01:00
commit bc639bc3ec
2 changed files with 8 additions and 3 deletions

View file

@ -204,7 +204,11 @@ int mfCheckKeys_fast( uint8_t sectorsCnt, uint8_t firstChunk, uint8_t lastChunk,
}
}
free(tmp);
return 0;
if ( curr_keys == sectorsCnt*2 )
return 0;
if ( lastChunk )
return 1;
}
return 1;
}