From e1e9fa99b460f71c20fd4bb8fd68bbf196278634 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 30 May 2017 19:46:42 +0100 Subject: [PATCH] unifying: Don't read a register we don't use It seems other firmware versions are affected too. --- plugins/unifying/lu-device-runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/unifying/lu-device-runtime.c b/plugins/unifying/lu-device-runtime.c index 0e1a5622e..81c123ac1 100644 --- a/plugins/unifying/lu-device-runtime.c +++ b/plugins/unifying/lu-device-runtime.c @@ -114,7 +114,7 @@ lu_device_runtime_open (LuDevice *device, GError **error) /* workaround a bug in the 12.01 firmware, which fails with * INVALID_VALUE when reading MCU1_HW_VERSION */ - if (version_bl_major == 0x01 && i == 0x03) + if (i == 0x03) continue; msg->report_id = HIDPP_REPORT_ID_SHORT;