Skip to content
Snippets Groups Projects

iface-modem: Increase unlock_required retries

Merged Pavan Holla requested to merge pholla/ModemManager:increase_retries_1 into master
  1. Apr 14, 2021
    • Aleksander Morgado's avatar
      iface-modem: minor refactor in the unload required logic · da24b7d4
      Aleksander Morgado authored
      No change in the logic, just in how it's setup. E.g. we will load the
      max number of retries just once when the logic starts, instead of
      checking it on every iteration.
      
      Also some other minor coding style changes included, e.g. adding the
      timeout between retries as a defined symbol.
      da24b7d4
    • Pavan Holla's avatar
      iface-modem: Increase unlock_required retries · 19edbd0b
      Pavan Holla authored and Aleksander Morgado's avatar Aleksander Morgado committed
      If a SIM is known to exist, for e.g. if it was created during load_sim_slots,
      persist a few more times before giving up on the SIM to be ready. There
      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.
      19edbd0b
Loading