summaryrefslogtreecommitdiff
path: root/plugins/gobi.c
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2018-03-05 13:31:02 +0100
committerDenis Kenzior <denkenz@gmail.com>2018-03-05 11:32:47 -0600
commit12a943866ab66143689d7152762f8cc0b37f2c27 (patch)
treec8ff122e79d1cdf000cb7a30f7c4591c45221011 /plugins/gobi.c
parentf2e38a6b4216437b084fd866fe406aa71b5d5f7f (diff)
downloadofono-12a943866ab66143689d7152762f8cc0b37f2c27.tar.gz
gobi: add LTE atom
This atom needs to be created in post_sim so that the APN can be written to the default profile before the modem attempts to use the setting to connect to the network.
Diffstat (limited to 'plugins/gobi.c')
-rw-r--r--plugins/gobi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/gobi.c b/plugins/gobi.c
index 17900010..e7cf1598 100644
--- a/plugins/gobi.c
+++ b/plugins/gobi.c
@@ -43,6 +43,7 @@
#include <ofono/ussd.h>
#include <ofono/gprs.h>
#include <ofono/gprs-context.h>
+#include <ofono/lte.h>
#include <ofono/radio-settings.h>
#include <ofono/location-reporting.h>
#include <ofono/log.h>
@@ -483,6 +484,8 @@ static void gobi_post_sim(struct ofono_modem *modem)
DBG("%p", modem);
+ ofono_lte_create(modem, "qmimodem", data->device);
+
if (data->features & GOBI_CAT)
ofono_stk_create(modem, 0, "qmimodem", data->device);
else if (data->features & GOBI_CAT_OLD)