From e47de909c091e8388c6001de7e17bcc0dba49a2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Ca=C3=B1uelo?= Date: Fri, 17 Sep 2021 11:45:12 +0200 Subject: [PATCH] logitech-hidpp: adhere more closely to the specs The restart message is supposed to be HIDPP_REPORT_ID_LONG according to the specs, but it works just as well if we use HIDPP_REPORT_ID_SHORT. We better stick to the specs, though. --- plugins/logitech-hidpp/fu-logitech-hidpp-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/logitech-hidpp/fu-logitech-hidpp-device.c b/plugins/logitech-hidpp/fu-logitech-hidpp-device.c index 13c2f95ec..fce1b5ca3 100644 --- a/plugins/logitech-hidpp/fu-logitech-hidpp-device.c +++ b/plugins/logitech-hidpp/fu-logitech-hidpp-device.c @@ -1239,7 +1239,7 @@ fu_logitech_hidpp_device_attach(FuLogitechHidPpDevice *self, } /* reboot back into firmware mode */ - msg->report_id = HIDPP_REPORT_ID_SHORT; + msg->report_id = HIDPP_REPORT_ID_LONG; msg->device_id = priv->device_idx; msg->sub_id = idx; msg->function_id = 0x05 << 4; /* restart */