aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mm-plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c
index 8ef9e623..7150b037 100644
--- a/src/mm-plugin.c
+++ b/src/mm-plugin.c
@@ -997,7 +997,7 @@ mm_plugin_create_modem (MMPlugin *self,
}
#else
if (port_type == MM_PORT_TYPE_NET &&
- g_strcmp0 (driver, "qmi_wwan") != 0) {
+ g_strcmp0 (driver, "qmi_wwan") == 0) {
/* QMI net ports are ignored if QMI support not built */
mm_dbg ("(%s/%s): ignoring QMI net port as QMI support isn't available", subsys, name);
force_ignored = TRUE;