tici: toggle wwan when stuck registered

old-commit-hash: 38380612d5
commatwo_master
Willem Melching 4 years ago
parent af6d31218b
commit 1966c6d908
  1. 4
      selfdrive/thermald/thermald.py

@ -245,6 +245,10 @@ def thermald_thread():
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")
registered_count = 0
except Exception:
cloudlog.exception("Error getting network status")

Loading…
Cancel
Save