summaryrefslogtreecommitdiffstats
path: root/src/target
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-12-14 00:58:16 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-12-16 07:14:11 +0700
commit016361cda162e9dbe84b13ef005e0fa48244b3df (patch)
treecf86aa8433972523ea38671d2bccc0fcc7690c1b /src/target
parent2e3226004098a9908771fded989151f8d4bd298b (diff)
trx_toolkit/ctrl_if_bb.py: drop meaningless warnings
A timeslot can be reconfigured at runtime, this is normal. We should neither complain nor reject such commands. Change-Id: I0a69ebceed5aa724093e6d1b23faad8c16705055
Diffstat (limited to 'src/target')
-rw-r--r--src/target/trx_toolkit/ctrl_if_bb.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/target/trx_toolkit/ctrl_if_bb.py b/src/target/trx_toolkit/ctrl_if_bb.py
index fe7f3e89..d25aa306 100644
--- a/src/target/trx_toolkit/ctrl_if_bb.py
+++ b/src/target/trx_toolkit/ctrl_if_bb.py
@@ -114,18 +114,10 @@ class CTRLInterfaceBB(CTRLInterface):
# Deactivate TS (remove from TS pass-filter list)
if ts in self.burst_fwd.ts_pass_list:
self.burst_fwd.ts_pass_list.remove(ts)
- else:
- log.warning("TS %u was not activated before" % ts)
- # TODO: uncomment as soon as RESET is introduced
- # return -1
else:
# Activate TS (add to TS pass-filter list)
if ts not in self.burst_fwd.ts_pass_list:
self.burst_fwd.ts_pass_list.append(ts)
- else:
- log.warning("TS %u was already activated before" % ts)
- # TODO: uncomment as soon as RESET is introduced
- # return -1
return 0