diff options
Diffstat (limited to 'hw/usb/hid-logitech-dj.c')
-rw-r--r-- | hw/usb/hid-logitech-dj.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/usb/hid-logitech-dj.c b/hw/usb/hid-logitech-dj.c index 91277b00fe..5eea52fe81 100644 --- a/hw/usb/hid-logitech-dj.c +++ b/hw/usb/hid-logitech-dj.c @@ -457,16 +457,15 @@ fail: void usb_ltunify_handle_control_hidpp(USBDevice *dev, USBPacket *p, int request, int value, int index, int length, uint8_t *data) { - //USBLtunifyState *s = (USBLtunifyState *) dev; - switch (request) { case HID_GET_REPORT: - /* FIXME */ - break; + /* not implemented, please use the interrupt endpoint */ + goto fail; case HID_SET_REPORT: hidpp_set_report(dev, p, data, length); break; default: + fail: p->status = USB_RET_STALL; break; } |