Gemalto modem does not allow to enable Supplementary Service
during post_sim stage. So move ussd atom to post_online stage.

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

diff --git a/plugins/gemalto.c b/plugins/gemalto.c
index a2e8a39c..d1962ab8 100644
--- a/plugins/gemalto.c
+++ b/plugins/gemalto.c
@@ -614,8 +614,6 @@ static void gemalto_post_sim(struct ofono_modem *modem)
        if (gprs && gc)
                ofono_gprs_add_context(gprs, gc);
 
-       ofono_ussd_create(modem, 0, "atmodem", data->app);
-
        if (!g_strcmp0(model, GEMALTO_MODEL_ALS3_PLS8x) ||
            !g_strcmp0(model, GEMALTO_MODEL_ELS81x))
                ofono_lte_create(modem, OFONO_VENDOR_GEMALTO,
@@ -639,6 +637,8 @@ static void gemalto_post_online(struct ofono_modem *modem)
        ofono_call_meter_create(modem, 0, "atmodem", data->app);
        ofono_call_barring_create(modem, 0, "atmodem", data->app);
 
+       ofono_ussd_create(modem, 0, "atmodem", data->app);
+
        if (!g_strcmp0(model, GEMALTO_MODEL_ELS81x))
                ofono_netmon_create(modem, OFONO_VENDOR_GEMALTO,
                                        "gemaltomodem", data->app);
_______________________________________________
ofono mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to