diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-08-30 12:15:53 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-09-07 09:58:26 +0200 |
commit | 7755260f015dcbb8fa47bcc6f1e2ca317b2205aa (patch) | |
tree | 4622897df7ee861aa4fb8a175f60a46942f00061 | |
parent | 97237e0a5a95123a072a49eddd3bc5e20534f7fa (diff) |
usb-ccid: remote wakeup support
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | hw/usb-ccid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/usb-ccid.c b/hw/usb-ccid.c index d40977be8d..cd349f3f17 100644 --- a/hw/usb-ccid.c +++ b/hw/usb-ccid.c @@ -447,7 +447,7 @@ static const USBDescDevice desc_device = { { .bNumInterfaces = 1, .bConfigurationValue = 1, - .bmAttributes = 0x80, + .bmAttributes = 0xa0, .bMaxPower = 50, .nif = 1, .ifs = &desc_iface0, @@ -811,6 +811,7 @@ static void ccid_on_slot_change(USBCCIDState *s, bool full) s->bmSlotICCState |= SLOT_0_CHANGED_MASK; } s->notify_slot_change = true; + usb_wakeup(&s->dev); } static void ccid_write_data_block_error( |