diff --git a/system/hardware/hardwared.py b/system/hardware/hardwared.py index a579cc5eef..da3172e8d1 100755 --- a/system/hardware/hardwared.py +++ b/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