iface-modem: new logic to detect SIM swap with explicit IMSI/ICCID query
This improves SIM hot swap check process, and it can help avoid unnecessary modem reprobe during suspend-resume without SIM inserted. The changes in this CL implemented the new logic ONLY for MBIM, and the new logic has not been implemented for QMI and AT yet. Thus, we keep the legacy `mm_iface_modem_check_for_sim_swap()' till the new logic for QMI and AT has been implemented.
This commit is contained in:
committed by
Aleksander Morgado
parent
4fdda13c4e
commit
b7433b4c14
@@ -432,8 +432,6 @@ 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,
|
||||
NULL,
|
||||
(GAsyncReadyCallback)quectel_qusim_check_for_sim_swap_ready,
|
||||
NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user