mirror of https://github.com/FreeRDP/FreeRDP
channels/smartcard: make smartcard_ListReaders(A/W)_Call return PCSC error statuses to the server
This commit is contained in:
parent
bfdf025e88
commit
76916d614b
|
@ -320,9 +320,6 @@ static UINT32 smartcard_ListReadersA_Call(SMARTCARD_DEVICE* smartcard, SMARTCARD
|
|||
call->mszGroups = NULL;
|
||||
}
|
||||
|
||||
if (status != SCARD_S_SUCCESS)
|
||||
return status;
|
||||
|
||||
smartcard_trace_list_readers_return(smartcard, &ret, FALSE);
|
||||
status = smartcard_pack_list_readers_return(smartcard, irp->output, &ret);
|
||||
|
||||
|
@ -373,9 +370,6 @@ static UINT32 smartcard_ListReadersW_Call(SMARTCARD_DEVICE* smartcard, SMARTCARD
|
|||
call->mszGroups = NULL;
|
||||
}
|
||||
|
||||
if (status != SCARD_S_SUCCESS)
|
||||
return status;
|
||||
|
||||
smartcard_trace_list_readers_return(smartcard, &ret, TRUE);
|
||||
|
||||
status = smartcard_pack_list_readers_return(smartcard, irp->output, &ret);
|
||||
|
|
Loading…
Reference in New Issue