Update modem configuration parameter parsing for generic AT plugin
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 5 Sep 2009 02:48:08 +0000 (04:48 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 5 Sep 2009 02:48:08 +0000 (04:48 +0200)
plugins/modemconf.c

index ef4d9fe..c15286d 100644 (file)
@@ -87,8 +87,8 @@ static struct ofono_modem *create_modem(GKeyFile *keyfile, const char *group)
        if (!g_strcmp0(driver, "phonesim"))
                set_address(modem, keyfile, group);
 
-       if (!g_strcmp0(driver, "g1") || !g_strcmp0(driver, "mbm") ||
-                       !g_strcmp0(driver, "calypso"))
+       if (!g_strcmp0(driver, "atgen") || !g_strcmp0(driver, "g1") ||
+                                               !g_strcmp0(driver, "calypso"))
                set_device(modem, keyfile, group);
 
        g_free(driver);