summaryrefslogtreecommitdiffstats
path: root/hw/usb
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2013-03-04 21:40:53 +0200
committerAlon Levy <alevy@redhat.com>2013-04-24 11:47:52 +0300
commitc5cd7c875608911ec74817d24cd12b825014ba19 (patch)
treecf2ef0891d04b05ad33cd4e44312ddc9c7ea3c67 /hw/usb
parent47bf53af7507986fc473cb308324340448fd85e7 (diff)
downloadhqemu-c5cd7c875608911ec74817d24cd12b825014ba19.zip
hqemu-c5cd7c875608911ec74817d24cd12b825014ba19.tar.gz
dev-smartcard-reader: support windows guest
By not advertising USB wakeup support (which we don't). Signed-off-by: Alon Levy <alevy@redhat.com> Reviewed-by: Marc-André Lureau <mlureau@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/dev-smartcard-reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c
index 6133edf..38c3c0e 100644
--- a/hw/usb/dev-smartcard-reader.c
+++ b/hw/usb/dev-smartcard-reader.c
@@ -359,11 +359,11 @@ static const uint8_t qemu_ccid_descriptor[] = {
* 20000 Short APDU level exchange with CCID
* 40000 Short and Extended APDU level exchange with CCID
*
- * + 100000 USB Wake up signaling supported on card
+ * 100000 USB Wake up signaling supported on card
* insertion and removal. Must set bit 5 in bmAttributes
* in Configuration descriptor if 100000 is set.
*/
- 0xfe, 0x04, 0x11, 0x00,
+ 0xfe, 0x04, 0x01, 0x00,
/*
* u32 dwMaxCCIDMessageLength; For extended APDU in
* [261 + 10 , 65544 + 10]. Otherwise the minimum is
OpenPOWER on IntegriCloud