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.
This commit is contained in:
committed by
Denis Kenzior
parent
8b3d0e23ee
commit
02e58cc8a9
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user