phonesim: Move the stk atom to post_sim state

This commit is contained in:
Denis Kenzior 2010-09-02 10:42:15 -05:00
parent 7396faf853
commit bb3df7a66d
1 changed files with 4 additions and 4 deletions

View File

@ -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);