]> git.proxmox.com Git - qemu.git/commit - hw/usb/dev-bluetooth.c
usb-bt: Return NAK instead of STALL when interrupt ep has no data
authorHans de Goede <hdegoede@redhat.com>
Sat, 17 Nov 2012 11:15:01 +0000 (12:15 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 21 Nov 2012 13:55:54 +0000 (14:55 +0100)
commit33c1a6856f06fccd7cbfe53e06f9ebbe95bd565f
tree42fc185941d19777189a3ac1f02d7315c2d7dc18
parent71d2c9cf656cb8b55a71057c1943ade197c1bb5b
usb-bt: Return NAK instead of STALL when interrupt ep has no data

I noticed this while making all devices with interrupt endpoints properly
do wakeup. While at it also add wakeup support.

Note that I've not tested this, but returning STALL for an interrupt ep
which has no data is cleary the wrong thing to do.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-bluetooth.c