summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/atgen.c2
-rw-r--r--plugins/phonesim.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/plugins/atgen.c b/plugins/atgen.c
index ed963c2d..262d32fa 100644
--- a/plugins/atgen.c
+++ b/plugins/atgen.c
@@ -43,6 +43,7 @@
#include <ofono/netreg.h>
#include <ofono/phonebook.h>
#include <ofono/sim.h>
+#include <ofono/stk.h>
#include <ofono/sms.h>
#include <ofono/ssn.h>
#include <ofono/ussd.h>
@@ -163,6 +164,7 @@ static void atgen_pre_sim(struct ofono_modem *modem)
ofono_devinfo_create(modem, 0, "atmodem", chat);
sim = ofono_sim_create(modem, 0, "atmodem", chat);
ofono_voicecall_create(modem, 0, "atmodem", chat);
+ ofono_stk_create(modem, 0, "atmodem", chat);
if (sim)
ofono_sim_inserted_notify(sim, TRUE);
diff --git a/plugins/phonesim.c b/plugins/phonesim.c
index 4c3b3ce8..9153e1b8 100644
--- a/plugins/phonesim.c
+++ b/plugins/phonesim.c
@@ -50,6 +50,7 @@
#include <ofono/netreg.h>
#include <ofono/phonebook.h>
#include <ofono/sim.h>
+#include <ofono/stk.h>
#include <ofono/sms.h>
#include <ofono/ssn.h>
#include <ofono/ussd.h>
@@ -289,6 +290,8 @@ static void phonesim_pre_sim(struct ofono_modem *modem)
else
ofono_voicecall_create(modem, 0, "atmodem", data->chat);
+ ofono_stk_create(modem, 0, "atmodem", data->chat);
+
if (sim)
ofono_sim_inserted_notify(sim, TRUE);
}