Permalink
Browse files

unifying: Don't read a register we don't use

It seems other firmware versions are affected too.
  • Loading branch information...
1 parent 555c634 commit e1e9fa99b460f71c20fd4bb8fd68bbf196278634 @hughsie committed May 30, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit e1e9fa9

Please sign in to comment.