use nmcli conn up lte to bring out of registered state

pull/21406/head
Willem Melching 4 years ago
parent 6402edb898
commit eb3144ef71
  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