mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
usb: add ifnum to USBEndpoint
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
d8e17efdec
commit
82f02fe965
3 changed files with 18 additions and 0 deletions
|
@ -1206,6 +1206,7 @@ static int usb_linux_update_endp_table(USBHostDevice *s)
|
|||
assert(usb_ep_get_type(&s->dev, pid, ep) ==
|
||||
USB_ENDPOINT_XFER_INVALID);
|
||||
usb_ep_set_type(&s->dev, pid, ep, type);
|
||||
usb_ep_set_ifnum(&s->dev, pid, ep, interface);
|
||||
|
||||
epd = get_endp(s, pid, ep);
|
||||
epd->halted = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue