Index: scd/apdu.c =================================================================== --- scd/apdu.c +++ scd/apdu.c @@ -2267,7 +2267,10 @@ /* When reader string is specified, check if it is the one. */ if (readerno < 0 && strncmp (rdrname, dl->portstr, strlen (dl->portstr)) != 0) - continue; + { + dl->idx++; + continue; + } slot = open_pcsc_reader (rdrname);