aboutsummaryrefslogtreecommitdiff
path: root/src/mm-base-sim.c
diff options
context:
space:
mode:
authorEric Caruso <ejcaruso@chromium.org>2020-06-12 15:18:28 -0700
committerAleksander Morgado <aleksander@aleksander.es>2020-10-19 20:38:43 +0000
commite24a8240cb957c1875f2f3eab14aa5005c3b8f40 (patch)
tree369a6c88566a5721bbb7681c8294525c1cbfe668 /src/mm-base-sim.c
parent9fca0467801d41598666dd63e9394ed806c5a399 (diff)
mm-shared-qmi: load EID during SIM slot loading
SIMs can be created with an EID fetched during load_sim_slots while initializing the modem, if present. Since load_eid would be implemented with the same mechanism we avoid using it here (if Get Slot Status fails once, it probably doesn't make a lot of sense to try it again).
Diffstat (limited to 'src/mm-base-sim.c')
-rw-r--r--src/mm-base-sim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-base-sim.c b/src/mm-base-sim.c
index d692554d..b8570a3c 100644
--- a/src/mm-base-sim.c
+++ b/src/mm-base-sim.c
@@ -1472,6 +1472,7 @@ mm_base_sim_new_initialized (MMBaseModem *modem,
gboolean active,
const gchar *sim_identifier,
const gchar *imsi,
+ const gchar *eid,
const gchar *operator_identifier,
const gchar *operator_name,
const GStrv emergency_numbers)
@@ -1484,6 +1485,7 @@ mm_base_sim_new_initialized (MMBaseModem *modem,
"active", active,
"sim-identifier", sim_identifier,
"imsi", imsi,
+ "eid", eid,
"operator-identifier", operator_identifier,
"operator-name", operator_name,
"emergency-numbers", emergency_numbers,