mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 16:11:22 +00:00
trivial: logitech_hidpp: set the protocol properly when bootloader unknown
This appears to be a regression from c6ae0d998b
where the case of bootloader version 0 didn't get protocol set.
Fixes: #2156
This commit is contained in:
parent
0f6d754d5a
commit
c0a2798fb5
@ -230,10 +230,10 @@ fu_logitech_hidpp_runtime_setup_internal (FuDevice *device, GError **error)
|
|||||||
(self->version_bl_major == 0x03 && config[8] >= 0x02)) {
|
(self->version_bl_major == 0x03 && config[8] >= 0x02)) {
|
||||||
self->signed_firmware = TRUE;
|
self->signed_firmware = TRUE;
|
||||||
fu_device_set_protocol (device, "com.logitech.unifyingsigned");
|
fu_device_set_protocol (device, "com.logitech.unifyingsigned");
|
||||||
} else {
|
|
||||||
fu_device_set_protocol (device, "com.logitech.unifying");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!self->signed_firmware)
|
||||||
|
fu_device_set_protocol (device, "com.logitech.unifying");
|
||||||
|
|
||||||
/* enable HID++ notifications */
|
/* enable HID++ notifications */
|
||||||
if (!fu_logitech_hidpp_runtime_enable_notifications (self, error)) {
|
if (!fu_logitech_hidpp_runtime_enable_notifications (self, error)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user