diff options
author | som <somashekhar.puttagangaiah@intel.com> | 2022-02-16 17:22:43 +0530 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2022-03-22 21:53:08 +0000 |
commit | 035879dab9524d81c781a8c414b5dfcbe1a48101 (patch) | |
tree | 37f5c24aba48ed787c17965b0c80d9e09e21a3ae /src/mm-sim-mbim.c | |
parent | c447785fd8da96d934d82e47fa159b9e087831aa (diff) |
broadband-modem-mbim: update sim-type and esim-status of inactive slot
During initialization if the number of slots is more than 1 then
update the sim-type and esim-status of the inactive slot as well.
Diffstat (limited to 'src/mm-sim-mbim.c')
-rw-r--r-- | src/mm-sim-mbim.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/mm-sim-mbim.c b/src/mm-sim-mbim.c index b0addb2e..1500fd2c 100644 --- a/src/mm-sim-mbim.c +++ b/src/mm-sim-mbim.c @@ -1186,14 +1186,16 @@ mm_sim_mbim_new (MMBaseModem *modem, MMBaseSim * mm_sim_mbim_new_initialized (MMBaseModem *modem, - guint slot_number, - gboolean active, - const gchar *sim_identifier, - const gchar *imsi, - const gchar *eid, - const gchar *operator_identifier, - const gchar *operator_name, - const GStrv emergency_numbers) + guint slot_number, + gboolean active, + MMSimType sim_type, + MMSimEsimStatus esim_status, + const gchar *sim_identifier, + const gchar *imsi, + const gchar *eid, + const gchar *operator_identifier, + const gchar *operator_name, + const GStrv emergency_numbers) { MMBaseSim *sim; @@ -1201,6 +1203,8 @@ mm_sim_mbim_new_initialized (MMBaseModem *modem, MM_BASE_SIM_MODEM, modem, MM_BASE_SIM_SLOT_NUMBER, slot_number, "active", active, + "sim-type", sim_type, + "esim-status", esim_status, "sim-identifier", sim_identifier, "eid", eid, "operator-identifier", operator_identifier, |