OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97237e0
)
usb-ccid: remote wakeup support
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 30 Aug 2011 10:15:53 +0000
(12:15 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 7 Sep 2011 07:58:26 +0000
(09:58 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-ccid.c
patch
|
blob
|
history
diff --git
a/hw/usb-ccid.c
b/hw/usb-ccid.c
index
d40977b
..
cd349f3
100644
(file)
--- a/
hw/usb-ccid.c
+++ b/
hw/usb-ccid.c
@@
-447,7
+447,7
@@
static const USBDescDevice desc_device = {
{
.bNumInterfaces = 1,
.bConfigurationValue = 1,
- .bmAttributes = 0x
8
0,
+ .bmAttributes = 0x
a
0,
.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(