From 0fe6d12e0bc752c29a93ac83a274e3650d457069 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 9 Dec 2009 17:07:51 +0100 Subject: 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 Signed-off-by: Anthony Liguori --- hw/bt-hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/bt-hid.c') diff --git a/hw/bt-hid.c b/hw/bt-hid.c index 020176e..4a04bbd 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; -- cgit v1.1