summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/udevng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/udevng.c b/plugins/udevng.c
index c323095a..ab0a29a5 100644
--- a/plugins/udevng.c
+++ b/plugins/udevng.c
@@ -123,7 +123,7 @@ static gboolean setup_hso(struct modem_info *modem)
network = info->devnode;
}
- if (control == NULL && application == NULL)
+ if (control == NULL || application == NULL)
return FALSE;
DBG("control=%s application=%s network=%s",