aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorRukun Mao <rmao@google.com>2023-08-11 00:17:06 +0000
committerAleksander Morgado <aleksander@aleksander.es>2023-10-11 14:01:33 +0000
commitb7433b4c1499dbdbd7eac10a4ff2111fd4fdd6f4 (patch)
tree0395e2983232bd293021a6209aeab02b0946fd99 /src/plugins
parent4fdda13c4eef051a6f3ffcddbf0c1fc9a67f1271 (diff)
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.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/quectel/mm-shared-quectel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/quectel/mm-shared-quectel.c b/src/plugins/quectel/mm-shared-quectel.c
index 816a5709..93153fff 100644
--- a/src/plugins/quectel/mm-shared-quectel.c
+++ b/src/plugins/quectel/mm-shared-quectel.c
@@ -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);
}