mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
usb-ccid: remote wakeup support
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
97237e0a5a
commit
7755260f01
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue