mirror of git://git.sysmocom.de/ofono
phonesim: Move the stk atom to post_sim state
This commit is contained in:
parent
7396faf853
commit
bb3df7a66d
|
@ -330,6 +330,10 @@ static void phonesim_post_sim(struct ofono_modem *modem)
|
||||||
DBG("%p", modem);
|
DBG("%p", modem);
|
||||||
|
|
||||||
ofono_phonebook_create(modem, 0, "atmodem", data->chat);
|
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)
|
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);
|
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_ussd_create(modem, 0, "atmodem", data->chat);
|
||||||
ofono_call_forwarding_create(modem, 0, "atmodem", data->chat);
|
ofono_call_forwarding_create(modem, 0, "atmodem", data->chat);
|
||||||
ofono_call_settings_create(modem, 0, "atmodem", data->chat);
|
ofono_call_settings_create(modem, 0, "atmodem", data->chat);
|
||||||
|
|
Loading…
Reference in New Issue