usb-ccid: advertise SELF_POWERED
commitcff17894e37feef5f0410c9557d38c2f00850657
authorAlon Levy <alevy@redhat.com>
Sun, 26 Feb 2012 16:09:23 +0000 (26 17:09 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 27 Feb 2012 12:37:36 +0000 (27 13:37 +0100)
treecba7b1ee041cfb1f3a6700d973d829b5fcb88bc0
parent8c741c229f6402886412f142ca1252e8a6f258a5
usb-ccid: advertise SELF_POWERED

Before commit ed5a83ddd8c1d8ec7b1015315530cf29949e7c48 each device
provided it's own response to USB_REQ_GET_STATUS, but after it that
response was based on bmAttributes, which was errounously set for
usb-ccid as 0xa0 and not 0xe0.

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-ccid.c