| 872 |
RESPONSECODE return_value = IFD_COMMUNICATION_ERROR; |
RESPONSECODE return_value = IFD_COMMUNICATION_ERROR; |
| 873 |
int oldLogLevel; |
int oldLogLevel; |
| 874 |
int reader_index; |
int reader_index; |
| 875 |
_ccid_descriptor *ccid_descriptor = get_ccid_descriptor(Lun); |
_ccid_descriptor *ccid_descriptor; |
| 876 |
|
|
| 877 |
DEBUG_PERIODIC2("lun: %X", Lun); |
DEBUG_PERIODIC2("lun: %X", Lun); |
| 878 |
|
|
| 879 |
if (-1 == (reader_index = LunToReaderIndex(Lun))) |
if (-1 == (reader_index = LunToReaderIndex(Lun))) |
| 880 |
return IFD_COMMUNICATION_ERROR; |
return IFD_COMMUNICATION_ERROR; |
| 881 |
|
|
| 882 |
|
ccid_descriptor = get_ccid_descriptor(reader_index); |
| 883 |
|
|
| 884 |
/* if DEBUG_LEVEL_PERIODIC is not set we remove DEBUG_LEVEL_COMM */ |
/* if DEBUG_LEVEL_PERIODIC is not set we remove DEBUG_LEVEL_COMM */ |
| 885 |
oldLogLevel = LogLevel; |
oldLogLevel = LogLevel; |
| 886 |
if (! (LogLevel & DEBUG_LEVEL_PERIODIC)) |
if (! (LogLevel & DEBUG_LEVEL_PERIODIC)) |