diff options
author | Sergey Matyukevich <geomatsi@gmail.com> | 2021-07-04 18:53:48 +0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2021-07-15 13:12:20 -0500 |
commit | 02e58cc8a9df72a0914f6032260d49604a2706c1 (patch) | |
tree | f48035ef32fc23a70aa88ff2378982078164ba43 | |
parent | 8b3d0e23eeefa766c3735b1c0b6fc3d5c47ecd90 (diff) | |
download | ofono-02e58cc8a9df72a0914f6032260d49604a2706c1.tar.gz |
plugins: gemalto: move ussd atom to post_online
Gemalto modem does not allow to enable Supplementary Service
during post_sim stage. So move ussd atom to post_online stage.
-rw-r--r-- | plugins/gemalto.c | 4 |
1 files 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); |