diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2022-05-20 12:59:12 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2022-05-25 10:59:17 +0200 |
commit | 073404313e3007b6c64bec7cea21e079befbf678 (patch) | |
tree | bb76ac79860003329f0ad4f9ad949a4168d745ee | |
parent | f593421d8df2a611194426e3be08406e4c073295 (diff) |
broadband-modem-mbim: improve logging of found SIM slots
-rw-r--r-- | src/mm-broadband-modem-mbim.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c index 7628a5ad..4ec413e4 100644 --- a/src/mm-broadband-modem-mbim.c +++ b/src/mm-broadband-modem-mbim.c @@ -5209,6 +5209,12 @@ create_sim_from_slot_state (MMBroadbandModemMbim *self, return NULL; } + mm_obj_dbg (self, "found %s SIM in slot %u: %s (%s)", + active ? "active" : "inactive", + slot_index, + mm_sim_type_get_string (sim_type), + (sim_type == MM_SIM_TYPE_ESIM) ? mm_sim_esim_status_get_string (esim_status) : "n/a"); + return MM_BASE_SIM (mm_sim_mbim_new_initialized (MM_BASE_MODEM (self), slot_index, active, |