use nmcli conn up lte to bring out of registered state

old-commit-hash: eb3144ef71
commatwo_master
Willem Melching 4 years ago
parent e2eddf74ee
commit dd3d2f6949
  1. 6
      selfdrive/thermald/thermald.py

@ -255,10 +255,8 @@ def thermald_thread():
registered_count = 0
if registered_count > 10:
cloudlog.warning(f"Modem stuck in registered state {network_info}")
os.system("nmcli radio wwan off")
os.system("nmcli radio wwan on")
cloudlog.warning(f"Modem stuck in registered state {network_info}. nmcli conn up lte")
os.system("nmcli conn up lte")
registered_count = 0
except Exception:

Loading…
Cancel
Save