}
/* The NEO Beta key is versioned from 2.1.4 but doesn't support slot2 */
else if( cfg->yk_major_version == 2 && cfg->yk_minor_version == 1 &&
- cfg->yk_build_version >= 4 && cfg->yk_build_version != 9) {
+ cfg->yk_build_version >= 4) {
ykp_errno = YKP_EYUBIKEYVER;
return 0;
}
case SLOT_NDEF:
/* NDEF is available for neo, thus within 2.1 from build 4 */
if (!(cfg->yk_major_version == 2 && cfg->yk_minor_version == 1 &&
- cfg->yk_build_version >= 4 && cfg->yk_build_version != 9))
+ cfg->yk_build_version >= 4))
ykp_errno = YKP_EYUBIKEYVER;
break;
default:
{
return (cfg->yk_major_version == 2 &&
cfg->yk_minor_version == 1 &&
- cfg->yk_build_version >= 4 &&
- cfg->yk_build_version != 9);
+ cfg->yk_build_version >= 4);
}
{
return (cfg->yk_major_version == 2 &&
cfg->yk_minor_version == 1 &&
- cfg->yk_build_version > 4 &&
- cfg->yk_build_version != 9);
+ cfg->yk_build_version > 4);
}
static bool capability_has_hidtrig(const YKP_CONFIG *cfg)
ykds_version_minor(st) >= 2) ||
(ykds_version_major(st) == 2 && // neo has serial functions
ykds_version_minor(st) == 1 &&
- ykds_version_build(st) >= 4 &&
- ykds_version_build(st) != 9))) {
+ ykds_version_build(st) >= 4))) {
unsigned int serial;
if (! yk_get_serial(yk, 0, 0, &serial)) {
printf ("Failed to read serial number (serial-api-visible disabled?).\n");