mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-20 04:12:05 +08:00
use nmcli conn up lte to bring out of registered state
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user