diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-06-06 15:51:36 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-06-06 15:51:36 -0700 |
commit | 6ab0b6f29acc8f6b2a5f3b94c02c405ee7318244 (patch) | |
tree | f4434d47eb221d16734662e1dbc7d6d6ca5bd475 | |
parent | f1c209d973795dcd515bfd7fd93a30e88732360c (diff) | |
download | ofono-6ab0b6f29acc8f6b2a5f3b94c02c405ee7318244.tar.bz2 |
Fix detection of Huawei E220 and E270 modems
-rw-r--r-- | plugins/udev.c | 2 |
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; |