diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-12-15 21:18:07 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-12-15 21:18:07 +0100 |
commit | d8e22daf369bb5c0485743911d3592bc072c1912 (patch) | |
tree | 54e6e181171408f1beb92ffedd799580e8cda79c | |
parent | 5ac86efde12b33072e95da24067175a61729bcf1 (diff) | |
download | qemu-logitech-unifying-2.2.tar.gz |
unifying: fix HID++ 2.0 error reportinglogitech-unifying-2.2
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-rw-r--r-- | hw/usb/hid-logitech-dj.c | 4 |
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); |