From dd3d2f69497aa9fccdf41e39045ef0594b792c3b Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Fri, 25 Jun 2021 11:00:40 +0200 Subject: [PATCH] use nmcli conn up lte to bring out of registered state old-commit-hash: eb3144ef71296e29420407d8f18426546f79213a --- selfdrive/thermald/thermald.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index ff3be7c00d..c02820a830 100755 --- a/selfdrive/thermald/thermald.py +++ b/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: