diff options
author | Nagi Marupaka <nmarupaka@google.com> | 2023-05-11 18:20:45 +0000 |
---|---|---|
committer | Nagi Marupaka <nmarupaka@google.com> | 2023-05-11 18:20:45 +0000 |
commit | 110495dc4494c481ad7b8fe4258bbfa74d025a4e (patch) | |
tree | a25a97592dbb288ddac6d825bf9ac8987abb1edc | |
parent | 470dff235c70683928ab0eb39c64151a8a4ceb7c (diff) | |
download | ModemManager-110495dc4494c481ad7b8fe4258bbfa74d025a4e.tar.gz |
mm-iface-modem: increase the SIM retries to 7
In some cases modem is taking 7 tries to detect an initialized SIM.
-rw-r--r-- | src/mm-iface-modem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index 32a5610e2..b30f710e9 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 */ |