[PATCH] osmo-gsm-tester[master]: ofono_client: Power off modem during cleanup()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Jun 23 11:10:57 UTC 2017


Review at  https://gerrit.osmocom.org/3028

ofono_client: Power off modem during cleanup()

Change-Id: Ic0c509e77ababf385beb8b1d26659ca4d18f9331
---
M src/osmo_gsm_tester/ofono_client.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/28/3028/1

diff --git a/src/osmo_gsm_tester/ofono_client.py b/src/osmo_gsm_tester/ofono_client.py
index 70fee25..60f98df 100644
--- a/src/osmo_gsm_tester/ofono_client.py
+++ b/src/osmo_gsm_tester/ofono_client.py
@@ -167,6 +167,7 @@
         self.connected_signals = util.listdict()
 
     def cleanup(self):
+        self.set_powered(False)
         self.unwatch_interfaces()
         for interface_name in list(self.connected_signals.keys()):
             self.remove_signals(interface_name)

-- 
To view, visit https://gerrit.osmocom.org/3028
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic0c509e77ababf385beb8b1d26659ca4d18f9331
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list