Cleaning Code
This commit is contained in:
parent
53707c97c8
commit
d427faf5c6
@ -508,7 +508,7 @@ int DeviceServiceEntry(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints)
|
||||
|
||||
smartcard->log = WLog_Get("com.freerdp.channel.smartcard.client");
|
||||
|
||||
WLog_SetLogLevel(smartcard->log, WLOG_DEBUG);
|
||||
//WLog_SetLogLevel(smartcard->log, WLOG_DEBUG);
|
||||
|
||||
smartcard->IrpQueue = MessageQueue_New(NULL);
|
||||
smartcard->rgSCardContextList = ListDictionary_New(TRUE);
|
||||
|
@ -2103,9 +2103,8 @@ WINSCARDAPI LONG WINAPI PCSC_SCardControl(SCARDHANDLE hCard,
|
||||
IoCtlAccess = ACCESS_FROM_CTL_CODE(dwControlCode);
|
||||
IoCtlDeviceType = DEVICE_TYPE_FROM_CTL_CODE(dwControlCode);
|
||||
|
||||
if (dwControlCode == PCSC_CM_IOCTL_GET_FEATURE_REQUEST) {
|
||||
if (dwControlCode == PCSC_CM_IOCTL_GET_FEATURE_REQUEST)
|
||||
getFeatureRequest = TRUE;
|
||||
}
|
||||
|
||||
if (IoCtlDeviceType == FILE_DEVICE_SMARTCARD)
|
||||
dwControlCode = PCSC_SCARD_CTL_CODE(IoCtlFunction);
|
||||
|
Loading…
Reference in New Issue
Block a user