summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-01-13 16:21:31 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-01-13 16:33:31 +0700
commite4e3e6facd1a7e7a81065428a5dba184026652a1 (patch)
tree31985f0859a534e403f152e0053e95838b706e0e
parent786e97a0dc12d58c033923563431d0454e607e74 (diff)
trx_toolkit/fake_trx.py: fix: update trx_list of FakePM
It seems in Ice44e2b22566b3652ef6d43896055963b13ab185 I forgot to do this, so all measurements triggered by MEASURE command were incorrect (always noise). Let's fix this! Change-Id: I155f118b2d3e3b23eb148fe7e2630790f8fcd18c
-rwxr-xr-xsrc/target/trx_toolkit/fake_trx.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/trx_toolkit/fake_trx.py b/src/target/trx_toolkit/fake_trx.py
index 0f473d0..0bf9266 100755
--- a/src/target/trx_toolkit/fake_trx.py
+++ b/src/target/trx_toolkit/fake_trx.py
@@ -308,6 +308,7 @@ class Application(ApplicationBase):
# Noise: -120 .. -105
# BTS: -75 .. -50
self.fake_pm = FakePM(-120, -105, -75, -50)
+ self.fake_pm.trx_list = self.trx_list
# Init TRX instance for BTS
self.append_trx(self.argv.bts_addr, self.argv.bts_base_port)