aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-06-23 13:10:38 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-07-03 10:39:46 +0000
commit58ff38d456e21071789abad83fb1ed2656dce3a0 (patch)
tree032276fd03c6e17898a7b4db48cce163f1267d44
parentdb2d76bb52a360a975e36f054af98efd9b0d2ee5 (diff)
ofono_client: Power off modem during cleanup()
-rw-r--r--src/osmo_gsm_tester/ofono_client.py1
1 files changed, 1 insertions, 0 deletions
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 @@ class ModemDbusInteraction(log.Origin):
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)