From 110495dc4494c481ad7b8fe4258bbfa74d025a4e Mon Sep 17 00:00:00 2001 From: Nagi Marupaka Date: Thu, 11 May 2023 18:20:45 +0000 Subject: [PATCH] mm-iface-modem: increase the SIM retries to 7 In some cases modem is taking 7 tries to detect an initialized SIM. --- src/mm-iface-modem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index 32a5610e..b30f710e 100644 --- a/src/mm-iface-modem.c +++ b/src/mm-iface-modem.c @@ -528,7 +528,7 @@ mm_iface_modem_abort_invocation_if_state_not_reached (MMIfaceModem *sel * are modems on which the SIM takes more than 15s to be ready, luckily, * they happen to be QMI modems where the SIM's iccid in load_sim_slots * lets us know that there is a sim */ -#define MAX_UNLOCK_REQUIRED_RETRIES_NO_SIM 6 +#define MAX_UNLOCK_REQUIRED_RETRIES_NO_SIM 7 #define MAX_UNLOCK_REQUIRED_RETRIES_SIM_EXISTS 30 /* Time between retries */