aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-11-28 14:36:24 +0100
committerAleksander Morgado <aleksander@aleksander.es>2017-01-16 11:24:12 +0100
commitbe1e9599de1ab31772f5500e6965fa177e216adb (patch)
tree4261c700c0c12a2c582802c7b518cbd25ed9d807
parent241842141c469f1d90d08b18b614c6de3903ba8b (diff)
downloadexternal_libqmi-be1e9599de1ab31772f5500e6965fa177e216adb.zip
external_libqmi-be1e9599de1ab31772f5500e6965fa177e216adb.tar.gz
external_libqmi-be1e9599de1ab31772f5500e6965fa177e216adb.tar.bz2
qmi-firmware-update: fix expected drivers in cdc-wdm ports
-rw-r--r--src/qmi-firmware-update/qfu-udev-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmi-firmware-update/qfu-udev-helpers.c b/src/qmi-firmware-update/qfu-udev-helpers.c
index d39060c..165534a 100644
--- a/src/qmi-firmware-update/qfu-udev-helpers.c
+++ b/src/qmi-firmware-update/qfu-udev-helpers.c
@@ -207,7 +207,7 @@ handle_uevent (GUdevClient *client,
goto out;
break;
case QFU_UDEV_HELPER_WAIT_FOR_DEVICE_TYPE_CDC_WDM:
- if (g_strcmp0 (driver, "cdc_wdm") != 0)
+ if (g_strcmp0 (driver, "qmi_wwan") != 0 && g_strcmp0 (driver, "cdc_mbim") != 0)
goto out;
break;
default: