Enable LTE atom for Cinterion ELS81x modems.

---
 plugins/gemalto.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/plugins/gemalto.c b/plugins/gemalto.c
index 297aaea3..13950742 100644
--- a/plugins/gemalto.c
+++ b/plugins/gemalto.c
@@ -58,6 +58,8 @@
 #define GEMALTO_MODEL_PHS8P    "0053"
 /* ALS3, PLS8-E, and PLS8-X family */
 #define GEMALTO_MODEL_ALS3_PLS8x       "0061"
+/* ELS81 modem */
+#define GEMALTO_MODEL_ELS81x   "005b"
 
 static const char *none_prefix[] = { NULL };
 static const char *sctm_prefix[] = { "^SCTM:", NULL };
@@ -601,7 +603,8 @@ static void gemalto_post_sim(struct ofono_modem *modem)
 
        ofono_ussd_create(modem, 0, "atmodem", data->app);
 
-       if (!g_strcmp0(model, GEMALTO_MODEL_ALS3_PLS8x))
+       if (!g_strcmp0(model, GEMALTO_MODEL_ALS3_PLS8x) ||
+           !g_strcmp0(model, GEMALTO_MODEL_ELS81x))
                ofono_lte_create(modem, OFONO_VENDOR_GEMALTO,
                                                "atmodem", data->app);
 }
-- 
2.27.0
_______________________________________________
ofono mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to