mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
qdev: Rename USBDevice member devname to product_desc
It's not a device name, it's the USB product description string. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
ba32edab7f
commit
0fe6d12e0b
6 changed files with 13 additions and 12 deletions
|
@ -701,7 +701,7 @@ static int usb_hid_handle_control(USBDevice *dev, int request, int value,
|
|||
break;
|
||||
case 2:
|
||||
/* product description */
|
||||
ret = set_usb_string(data, s->dev.devname);
|
||||
ret = set_usb_string(data, s->dev.product_desc);
|
||||
break;
|
||||
case 3:
|
||||
/* vendor description */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue