broadband-modem-mbim: improve logging of found SIM slots

This commit is contained in:
Aleksander Morgado
2022-05-20 12:59:12 +02:00
parent f593421d8d
commit 073404313e

View File

@@ -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,