mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-28 22:04:44 +00:00
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.
This commit is contained in:
parent
ab5c38b679
commit
e47de909c0
@ -1239,7 +1239,7 @@ fu_logitech_hidpp_device_attach(FuLogitechHidPpDevice *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* reboot back into firmware mode */
|
/* 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->device_id = priv->device_idx;
|
||||||
msg->sub_id = idx;
|
msg->sub_id = idx;
|
||||||
msg->function_id = 0x05 << 4; /* restart */
|
msg->function_id = 0x05 << 4; /* restart */
|
||||||
|
Loading…
Reference in New Issue
Block a user