summaryrefslogtreecommitdiffstats
path: root/plugins/phonesim.c
diff options
context:
space:
mode:
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>2010-12-10 10:56:47 -0800
committerDenis Kenzior <denkenz@gmail.com>2010-12-17 17:04:04 -0600
commit9f61b81965d53b2ae96a038315574a33cb9e259c (patch)
treebf4ddba4554d8356789c942d0f8cbd63538396ad /plugins/phonesim.c
parentc56c0b03bd39eaa5d5edfd44cec669765425bebf (diff)
downloadofono-9f61b81965d53b2ae96a038315574a33cb9e259c.tar.bz2
phonesim: Move call forwarding to post sim
Diffstat (limited to 'plugins/phonesim.c')
-rw-r--r--plugins/phonesim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/phonesim.c b/plugins/phonesim.c
index c7ef0d7d..b4795f2c 100644
--- a/plugins/phonesim.c
+++ b/plugins/phonesim.c
@@ -635,6 +635,8 @@ static void phonesim_post_sim(struct ofono_modem *modem)
if (!data->calypso)
ofono_stk_create(modem, OFONO_VENDOR_PHONESIM,
"atmodem", data->chat);
+
+ ofono_call_forwarding_create(modem, 0, "atmodem", data->chat);
}
static void phonesim_post_online(struct ofono_modem *modem)
@@ -647,7 +649,6 @@ static void phonesim_post_online(struct ofono_modem *modem)
DBG("%p", modem);
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);
if (data->calypso)