channels/smartcard: make smartcard_ListReaders(A/W)_Call return PCSC error statuses to the server

This commit is contained in:
Kirill Kotyagin 2015-07-22 16:56:24 +03:00
parent bfdf025e88
commit 76916d614b
1 changed files with 0 additions and 6 deletions

View File

@ -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);