diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-09-02 10:42:15 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-09-02 10:45:01 -0500 |
commit | bb3df7a66d421e674ab901b6acc79b5a27f5b234 (patch) | |
tree | 38762da7339ebbed091fad491859809ba4e44dcd /plugins/phonesim.c | |
parent | 7396faf853564b05b853a22fbc01f794ba038fe2 (diff) | |
download | ofono-bb3df7a66d421e674ab901b6acc79b5a27f5b234.tar.bz2 |
phonesim: Move the stk atom to post_sim state
Diffstat (limited to 'plugins/phonesim.c')
-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); |