summary refs log tree commit diff stats
path: root/scripts/qapi/common.py
diff options
context:
space:
mode:
authorHongren (Zenithal) Zheng <i@zenithal.me>2022-06-13 20:14:19 +0800
committerGerd Hoffmann <kraxel@redhat.com>2022-07-01 12:37:36 +0200
commitada270cd18723c575120c379d0234a1eafeba3dc (patch)
tree37e06d2b0b1ac09ce976072457b1afca63fee364 /scripts/qapi/common.py
parent8c0d80245f3cdbbe6003844751d8fc6b1db7b1e4 (diff)
downloadfocaccia-qemu-ada270cd18723c575120c379d0234a1eafeba3dc.tar.gz
focaccia-qemu-ada270cd18723c575120c379d0234a1eafeba3dc.zip
hw/usb/canokey: Fix CCID ZLP
CCID could send zero-length packet (ZLP)
if we invoke two data_in, two packets would be concated
and we could not distinguish them.

The CANOKEY_EMU_EP_CTAPHID is imported from canokey-qemu.h

Reported-by: MkfsSion <myychina28759@gmail.com>
Signed-off-by: Hongren (Zenithal) Zheng <i@zenithal.me>
Message-Id: <YqcqGz0s3+LE42ms@Sun>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions