summaryrefslogtreecommitdiffstats
path: root/plugins/udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/udev.c')
-rw-r--r--plugins/udev.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/udev.c b/plugins/udev.c
index a78cd41e..63302285 100644
--- a/plugins/udev.c
+++ b/plugins/udev.c
@@ -192,7 +192,7 @@ static void add_wavecom(struct ofono_modem *modem,
ofono_modem_register(modem);
}
-static void add_tc65(struct ofono_modem *modem,
+static void add_cinterion(struct ofono_modem *modem,
struct udev_device *udev_device)
{
const char *devnode;
@@ -243,6 +243,9 @@ static void add_modem(struct udev_device *udev_device)
if (devpath == NULL)
return;
+ if(g_strcmp0(driver, "tc65") == 0)
+ driver = "cinterion";
+
modem = ofono_modem_create(NULL, driver);
if (modem == NULL)
return;
@@ -305,8 +308,8 @@ done:
add_isi(modem, udev_device);
else if (g_strcmp0(driver, "calypso") == 0)
add_calypso(modem, udev_device);
- else if (g_strcmp0(driver, "tc65") == 0)
- add_tc65(modem, udev_device);
+ else if (g_strcmp0(driver, "cinterion") == 0)
+ add_cinterion(modem, udev_device);
else if (g_strcmp0(driver, "nokiacdma") == 0)
add_nokiacdma(modem, udev_device);
else if (g_strcmp0(driver, "sim900") == 0)