Skip to content

Commit

Permalink
gobi: add LTE atom
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Jonas Bonn authored and monich committed Feb 5, 2020
1 parent 29cce69 commit b0cd3e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ofono/plugins/gobi.c
Expand Up @@ -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>
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit b0cd3e4

Please sign in to comment.