iface-modem: add an optional iccid parameter to check_for_sim_swap

If the new iccid is already available, reading the iccid from the
card can be skipped.
This commit is contained in:
Teijo Kinnunen
2020-09-07 15:18:52 +03:00
parent 49b4e6a6ff
commit e52ad1cc88
4 changed files with 25 additions and 1 deletions

View File

@@ -153,6 +153,7 @@ quectel_qusim_unsolicited_handler (MMPortSerialAt *port,
mm_obj_dbg (self, "checking SIM swap");
MM_IFACE_MODEM_GET_INTERFACE (self)->check_for_sim_swap (
self,
NULL,
(GAsyncReadyCallback)quectel_qusim_check_for_sim_swap_ready,
NULL);
}