summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-dj.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/hid-logitech-dj.c')
-rw-r--r--hw/usb/hid-logitech-dj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/usb/hid-logitech-dj.c b/hw/usb/hid-logitech-dj.c
index 5d0b6bebf2..067f1cd73a 100644
--- a/hw/usb/hid-logitech-dj.c
+++ b/hw/usb/hid-logitech-dj.c
@@ -579,8 +579,8 @@ static void hidpp20_queue_error(USBLtunifyState *s, Hidpp20Msg *func, uint8_t er
.report_id = func->report_id,
.device_index = func->device_index,
.feat_index = 0xFF,
- .func = func->func,
- .params = { err }
+ .func = func->feat_index,
+ .params = { func->func, err }
};
hidpp_queue_output_report(s, (HidppMsg *) &error_report);