]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
dev-smartcard-reader: support windows guest
authorAlon Levy <alevy@redhat.com>
Mon, 4 Mar 2013 19:40:53 +0000 (21:40 +0200)
committerAlon Levy <alevy@redhat.com>
Wed, 24 Apr 2013 08:47:52 +0000 (11:47 +0300)
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>
hw/usb/dev-smartcard-reader.c

index 6133edf05a666decff731c7ebe36db5217061cfc..38c3c0e43b7fac45b23b2556ee5cf82a771d712a 100644 (file)
@@ -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