diff options
Diffstat (limited to 'src/device.c')
| -rw-r--r-- | src/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c index e5377cc..ddd1d4a 100644 --- a/src/device.c +++ b/src/device.c | |||
| @@ -572,6 +572,7 @@ static void device_version_input(struct mux_device *dev, struct version_header * | |||
| 572 | info.location = usb_get_location(dev->usbdev); | 572 | info.location = usb_get_location(dev->usbdev); |
| 573 | info.serial = usb_get_serial(dev->usbdev); | 573 | info.serial = usb_get_serial(dev->usbdev); |
| 574 | info.pid = usb_get_pid(dev->usbdev); | 574 | info.pid = usb_get_pid(dev->usbdev); |
| 575 | info.speed = usb_get_speed(dev->usbdev); | ||
| 575 | preflight_worker_device_add(&info); | 576 | preflight_worker_device_add(&info); |
| 576 | } | 577 | } |
| 577 | 578 | ||
| @@ -924,6 +925,7 @@ int device_get_list(int include_hidden, struct device_info **devices) | |||
| 924 | p->serial = usb_get_serial(dev->usbdev); | 925 | p->serial = usb_get_serial(dev->usbdev); |
| 925 | p->location = usb_get_location(dev->usbdev); | 926 | p->location = usb_get_location(dev->usbdev); |
| 926 | p->pid = usb_get_pid(dev->usbdev); | 927 | p->pid = usb_get_pid(dev->usbdev); |
| 928 | p->speed = usb_get_speed(dev->usbdev); | ||
| 927 | count++; | 929 | count++; |
| 928 | p++; | 930 | p++; |
| 929 | } | 931 | } |
