hardwared: configure modem even if SIM not present

pull/33942/head
Adeeb Shihadeh 8 months ago
parent 6e8e51793e
commit 8fc36c26f2
  1. 3
      system/hardware/hardwared.py

@ -148,8 +148,7 @@ def hw_state_thread(end_event, hw_queue):
except queue.Full:
pass
# TODO: remove this once the config is in AGNOS
if not modem_configured and len(HARDWARE.get_sim_info().get('sim_id', '')) > 0:
if not modem_configured and HARDWARE.get_modem_version() is not None:
cloudlog.warning("configuring modem")
HARDWARE.configure_modem()
modem_configured = True

Loading…
Cancel
Save