aboutsummaryrefslogtreecommitdiffstats
path: root/hw/bt-hid.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-12-09 17:07:51 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:38 -0600
commit0fe6d12e0bc752c29a93ac83a274e3650d457069 (patch)
treec64224edae0e3225075045fef03d60caa6bc1600 /hw/bt-hid.c
parentba32edab7fdab0e74b54696942b4127d26861cf6 (diff)
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>
Diffstat (limited to 'hw/bt-hid.c')
-rw-r--r--hw/bt-hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bt-hid.c b/hw/bt-hid.c
index 020176eac..4a04bbd9b 100644
--- a/hw/bt-hid.c
+++ b/hw/bt-hid.c
@@ -552,7 +552,7 @@ static struct bt_device_s *bt_hid_init(struct bt_scatternet_s *net,
BT_HID_MTU, bt_hid_new_interrupt_ch);
s->usbdev = dev;
- s->btdev.device.lmp_name = s->usbdev->devname;
+ s->btdev.device.lmp_name = s->usbdev->product_desc;
usb_hid_datain_cb(s->usbdev, s, bt_hid_datain);
s->btdev.device.handle_destroy = bt_hid_destroy;