]>
Commit | Line | Data |
---|---|---|
ac33aa7d AM |
1 | diff -urN upower-0.9.20.org/src/linux/up-device-unifying.c upower-0.9.20/src/linux/up-device-unifying.c |
2 | --- upower-0.9.20.org/src/linux/up-device-unifying.c 2013-01-10 13:08:46.000000000 +0100 | |
3 | +++ upower-0.9.20/src/linux/up-device-unifying.c 2013-03-20 16:55:41.757576712 +0100 | |
4 | @@ -165,7 +165,7 @@ | |
5 | hidraw_list = g_udev_client_query_by_subsystem (client, "hidraw"); | |
6 | for (l = hidraw_list; l != NULL; l = l->next) { | |
7 | if (g_strcmp0 (g_udev_device_get_sysfs_path (parent), | |
8 | - g_udev_device_get_sysfs_attr (l->data, "device")) == 0) { | |
9 | + g_udev_device_get_sysfs_path(g_udev_device_get_parent(l->data))) == 0) { | |
10 | receiver = g_object_ref (l->data); | |
11 | break; | |
12 | } |