summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/udev.c b/plugins/udev.c
index b39fc455..e3e8308a 100644
--- a/plugins/udev.c
+++ b/plugins/udev.c
@@ -244,7 +244,7 @@ static void add_huawei(struct ofono_modem *modem,
primary = 1;
ofono_modem_set_integer(modem, "PrimaryRegistered", primary);
- } else if (g_strcmp0(num, "02") == 0) {
+ } else if (g_strcmp0(num, "01") == 0 || g_strcmp0(num, "02") == 0) {
if (secondary != 0)
return;