diff options
-rw-r--r-- | plugins/phonesim.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/phonesim.c b/plugins/phonesim.c index fe4d55b7..d3caa20a 100644 --- a/plugins/phonesim.c +++ b/plugins/phonesim.c @@ -330,6 +330,10 @@ static void phonesim_post_sim(struct ofono_modem *modem) DBG("%p", modem); ofono_phonebook_create(modem, 0, "atmodem", data->chat); + + if (!data->calypso) + ofono_stk_create(modem, OFONO_VENDOR_PHONESIM, + "atmodem", data->chat); } static void phonesim_post_online(struct ofono_modem *modem) @@ -341,10 +345,6 @@ static void phonesim_post_online(struct ofono_modem *modem) DBG("%p", modem); - if (!data->calypso) - ofono_stk_create(modem, OFONO_VENDOR_PHONESIM, - "atmodem", data->chat); - ofono_ussd_create(modem, 0, "atmodem", data->chat); ofono_call_forwarding_create(modem, 0, "atmodem", data->chat); ofono_call_settings_create(modem, 0, "atmodem", data->chat); |