diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/smartcard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/smartcard.c b/server/smartcard.c index 7136d111..272098e8 100644 --- a/server/smartcard.c +++ b/server/smartcard.c @@ -449,6 +449,11 @@ static int smartcard_channel_handle_message(RedChannel *channel, SpiceDataHeader VSCMsgHeader* vheader = (VSCMsgHeader*)msg; SmartCardChannel* smartcard_channel = (SmartCardChannel*)channel; + if (header->type != SPICE_MSGC_SMARTCARD_DATA) { + /* handle ack's, spicy sends them while spicec does not */ + return red_channel_handle_message(channel, header, msg); + } + ASSERT(header->size == vheader->length + sizeof(VSCMsgHeader)); switch (vheader->type) { case VSC_ReaderAdd: |