Content-Type: multipart/mixed; boundary="===============4416199577490817533==" MIME-Version: 1.0 From: James Prestwood Subject: [PATCH 5/7] phonesim: Added sim-auth to phonesim plugin Date: Thu, 21 Sep 2017 11:11:58 -0700 Message-ID: <1506017520-22482-5-git-send-email-james.prestwood@linux.intel.com> In-Reply-To: <1506017520-22482-1-git-send-email-james.prestwood@linux.intel.com> List-Id: To: ofono@ofono.org --===============4416199577490817533== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --- 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 =3D ofono_sim_auth_create(modem, 0, "atmodem", data->chat); } = static void phonesim_post_sim(struct ofono_modem *modem) -- = 2.7.4 --===============4416199577490817533==--