raise up loggin level when PCSC context is not found (e.g. under POSIX system, pcscd is not running)

This commit is contained in:
Romuald Conty 2011-09-29 11:59:34 +00:00
parent 590e3910de
commit 49ab6a7f31

View file

@ -150,7 +150,7 @@ acr122_probe (nfc_device_desc_t pnddDevices[], size_t szDevices, size_t * pszDev
// Test if context succeeded
if (!(pscc = acr122_get_scardcontext ())) {
log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "%s", "PCSC context not found");
log_put (LOG_CATEGORY, NFC_PRIORITY_WARN, "%s", "PCSC context not found (make sure PCSC daemon is running).");
return false;
}
// Retrieve the string array of all available pcsc readers