removed workaround for HP USB Smart Card Keyboard
Has been fixed by the CCID driver https://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2011-March/005218.html
This commit is contained in:
parent
cf2a9cbbb0
commit
b2508b6c59
|
@ -929,7 +929,6 @@ static void detect_reader_features(sc_reader_t *reader, SCARDHANDLE card_handle)
|
||||||
PCSC_TLV_STRUCTURE *pcsc_tlv;
|
PCSC_TLV_STRUCTURE *pcsc_tlv;
|
||||||
LONG rv;
|
LONG rv;
|
||||||
const char *log_disabled = "but it's disabled in configuration file";
|
const char *log_disabled = "but it's disabled in configuration file";
|
||||||
const char *broken_readers[] = {"HP USB Smart Card Keyboard"};
|
|
||||||
|
|
||||||
SC_FUNC_CALLED(ctx, SC_LOG_DEBUG_NORMAL);
|
SC_FUNC_CALLED(ctx, SC_LOG_DEBUG_NORMAL);
|
||||||
|
|
||||||
|
@ -997,14 +996,6 @@ static void detect_reader_features(sc_reader_t *reader, SCARDHANDLE card_handle)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ignore advertised pinpad capability on readers known to be broken. Trac #340 */
|
|
||||||
for (i = 0; i < sizeof(broken_readers)/sizeof(broken_readers[0]); i++) {
|
|
||||||
if (strstr(reader->name, broken_readers[i]) && (reader->capabilities & SC_READER_CAP_PIN_PAD)) {
|
|
||||||
sc_log(ctx, "%s has a broken pinpad, ignoring", reader->name);
|
|
||||||
reader->capabilities &= ~SC_READER_CAP_PIN_PAD;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Detect display */
|
/* Detect display */
|
||||||
if (priv->pin_properties_ioctl) {
|
if (priv->pin_properties_ioctl) {
|
||||||
rcount = sizeof(rbuf);
|
rcount = sizeof(rbuf);
|
||||||
|
|
Loading…
Reference in New Issue