From 6ab0b6f29acc8f6b2a5f3b94c02c405ee7318244 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 6 Jun 2010 15:51:36 -0700 Subject: Fix detection of Huawei E220 and E270 modems --- plugins/udev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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; -- cgit v1.2.3