summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-08-02 20:13:08 +0100
committerRichard Hughes <richard@hughsie.com>2017-08-02 20:13:08 +0100
commitcb50db29e2b76b410cf9f0ed16adbefecee6bc83 (patch)
tree00bfb7c62f2dc53c53304e75f2496fc6d01d8612
parentf20246caa90e5279cfae8bf7f30ac69ce1edad80 (diff)
downloadcolord-cb50db29e2b76b410cf9f0ed16adbefecee6bc83.tar.gz
Revert "trivial: The P70 has a Huey with a different PID"
This reverts commit 952a307af0277e9b58528f4791ceb6dbc442469a.
-rw-r--r--src/sensors/huey/huey-device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sensors/huey/huey-device.c b/src/sensors/huey/huey-device.c
index 7b34204..24b5bb5 100644
--- a/src/sensors/huey/huey-device.c
+++ b/src/sensors/huey/huey-device.c
@@ -194,8 +194,7 @@ huey_device_unlock (GUsbDevice *device, GError **error)
/* embedded devices on Lenovo machines use a different unlock code */
if (g_usb_device_get_vid (device) == 0x0765 &&
- (g_usb_device_get_pid (device) == 0x5001 ||
- g_usb_device_get_pid (device) == 0x5010)) {
+ g_usb_device_get_pid (device) == 0x5001) {
request[0] = HUEY_CMD_UNLOCK;
request[1] = 'h';
request[2] = 'u';