]> git.proxmox.com Git - qemu.git/commit
usb-smartcard-reader: Properly NAK interrupt eps when we've no events
authorHans de Goede <hdegoede@redhat.com>
Sat, 17 Nov 2012 11:15:02 +0000 (12:15 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 21 Nov 2012 13:55:54 +0000 (14:55 +0100)
commitc4020746ff49b2156b4f98672c077d1a3b86fa8b
tree86b12f396a59e0e59b241a31d39ecdbc4c824eff
parent33c1a6856f06fccd7cbfe53e06f9ebbe95bd565f
usb-smartcard-reader: Properly NAK interrupt eps when we've no events

When we've no data to return from the interrupt endpoint, return NAK rather
then a 0 length packet.

CC: Alon Levy <alevy@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-smartcard-reader.c