summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-09-03 23:06:43 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-03 23:20:22 -0500
commit0e1c801e58d4ff97c78fd60c9c6dbe6536060c33 (patch)
tree7db0e88b931655c5324cd0c3c43666e1c3879800 /plugins
parent5cbf388d30e20d3167d63c4eaac1bb0bfb5eb209 (diff)
downloadofono-0e1c801e58d4ff97c78fd60c9c6dbe6536060c33.tar.bz2
Make sure modemconf handles calypso driver
Diffstat (limited to 'plugins')
-rw-r--r--plugins/modemconf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/modemconf.c b/plugins/modemconf.c
index 36aa78fc..ef4d9fe5 100644
--- a/plugins/modemconf.c
+++ b/plugins/modemconf.c
@@ -87,7 +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"))
+ if (!g_strcmp0(driver, "g1") || !g_strcmp0(driver, "mbm") ||
+ !g_strcmp0(driver, "calypso"))
set_device(modem, keyfile, group);
g_free(driver);