summaryrefslogtreecommitdiff
path: root/plugins/telit.c
diff options
context:
space:
mode:
authorPiotr Haber <gluedig@gmail.com>2017-02-02 15:10:56 +0100
committerDenis Kenzior <denkenz@gmail.com>2017-02-02 11:58:51 -0600
commit3ae33b2dd6dbac09712b15f5858a4102fada8f3c (patch)
tree824e99e1e5d67ffb03f15f968bf3271aa63ef936 /plugins/telit.c
parent5c0a8e531eadacf01d312715c6cf1da204e82544 (diff)
downloadofono-3ae33b2dd6dbac09712b15f5858a4102fada8f3c.tar.gz
telit: add support for UE866
Diffstat (limited to 'plugins/telit.c')
-rw-r--r--plugins/telit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/telit.c b/plugins/telit.c
index 742e06c0..4ba8e483 100644
--- a/plugins/telit.c
+++ b/plugins/telit.c
@@ -67,6 +67,7 @@ enum modem_model {
UE910,
LE910,
UC864,
+ UE866,
};
static struct {
@@ -90,6 +91,7 @@ static struct {
{ UC864, NULL, TRUE, FALSE },
{ UC864, "G", TRUE, TRUE },
{ UC864, "WD", FALSE, FALSE },
+ { UE866, NULL, FALSE, FALSE },
{ }
};
@@ -307,6 +309,8 @@ static gboolean find_model_variant(struct ofono_modem *modem,
data->model = LE910;
else if (g_str_equal(model, "UC864"))
data->model = UC864;
+ else if (g_str_equal(model, "UE866"))
+ data->model = UE866;
else
return FALSE;