--- plugins/phonesim.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/phonesim.c b/plugins/phonesim.c index 16bccd5..345c41e 100644 --- a/plugins/phonesim.c +++ b/plugins/phonesim.c @@ -61,6 +61,7 @@ #include #include #include +#include #include #include @@ -84,6 +85,7 @@ struct phonesim_data { unsigned int hfp_watch; int batt_level; struct ofono_sim *sim; + struct ofono_sim_auth *sim_auth; }; struct gprs_context_data { @@ -839,6 +841,8 @@ static void phonesim_pre_sim(struct ofono_modem *modem) ofono_voicecall_create(modem, 0, "calypsomodem", data->chat); else ofono_voicecall_create(modem, 0, "atmodem", data->chat); + + data->sim_auth = ofono_sim_auth_create(modem, 0, "atmodem", data->chat); } static void phonesim_post_sim(struct ofono_modem *modem) -- 2.7.4