aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmi-firmware-update/qfu-udev-helpers.c
diff options
context:
space:
mode:
authorChristophe Ronco <c.ronco@kerlink.fr>2017-01-16 13:52:55 +0100
committerAleksander Morgado <aleksander@aleksander.es>2017-01-16 22:16:37 +0100
commit0fe1d178b3607ab614fab607b7d20aa0a0df6057 (patch)
treec34c4037a639c782b6647d08b7363eb796cce620 /src/qmi-firmware-update/qfu-udev-helpers.c
parente692972a82658e39a63020f0e75047b9260e0160 (diff)
downloadexternal_libqmi-0fe1d178b3607ab614fab607b7d20aa0a0df6057.zip
external_libqmi-0fe1d178b3607ab614fab607b7d20aa0a0df6057.tar.gz
external_libqmi-0fe1d178b3607ab614fab607b7d20aa0a0df6057.tar.bz2
qmi-firmware-update: small fix in udev event management
Diffstat (limited to 'src/qmi-firmware-update/qfu-udev-helpers.c')
-rw-r--r--src/qmi-firmware-update/qfu-udev-helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qmi-firmware-update/qfu-udev-helpers.c b/src/qmi-firmware-update/qfu-udev-helpers.c
index c4f2d81..c064c6f 100644
--- a/src/qmi-firmware-update/qfu-udev-helpers.c
+++ b/src/qmi-firmware-update/qfu-udev-helpers.c
@@ -375,6 +375,8 @@ device_matches_sysfs_and_type (GUdevDevice *device,
if (!udev_helper_get_udev_device_details (device,
&device_sysfs_path, NULL, NULL, NULL, NULL,
NULL))
+ goto out;
+
if (!device_sysfs_path)
goto out;