From ee12b460e70fd80335be32d80b47fd8c6e22f1af Mon Sep 17 00:00:00 2001 From: ShaneSmiskol Date: Wed, 28 Jul 2021 17:02:08 -0700 Subject: [PATCH] keep setting for now --- launch_chffrplus.sh | 1 + selfdrive/ui/qt/offroad/wifiManager.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/launch_chffrplus.sh b/launch_chffrplus.sh index 40cbe23874..5be462f551 100755 --- a/launch_chffrplus.sh +++ b/launch_chffrplus.sh @@ -100,6 +100,7 @@ function tici_init { sudo su -c 'echo "performance" > /sys/class/devfreq/soc:qcom,memlat-cpu0/governor' sudo su -c 'echo "performance" > /sys/class/devfreq/soc:qcom,memlat-cpu4/governor' + nmcli connection modify --temporary lte gsm.auto-config yes # set success flag for current boot slot sudo abctl --set_success diff --git a/selfdrive/ui/qt/offroad/wifiManager.cc b/selfdrive/ui/qt/offroad/wifiManager.cc index a7838be421..a9c2532379 100644 --- a/selfdrive/ui/qt/offroad/wifiManager.cc +++ b/selfdrive/ui/qt/offroad/wifiManager.cc @@ -431,7 +431,7 @@ void WifiManager::setRoamingEnabled(bool roaming) { Connection settings = QDBusReply(nm.call("GetSettings")).value(); if (settings.value("gsm").value("home-only").toBool() == roaming) { settings["gsm"]["home-only"] = !roaming; - nm.call("UpdateUnsaved", QVariant::fromValue(settings)); // resets on reboot + nm.call("UpdateUnsaved", QVariant::fromValue(settings)); // update is temporary } } }