Change in osmocom-bb[master]: trx_toolkit/ctrl_if_bb.py: fix SETTA command handling

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/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Tue Dec 11 17:56:11 UTC 2018


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/12258


Change subject: trx_toolkit/ctrl_if_bb.py: fix SETTA command handling
......................................................................

trx_toolkit/ctrl_if_bb.py: fix SETTA command handling

Since I8fd2a2ab7784b38bde5ebcfd0359b7e2cb53f5a7, SETTA command
handling was broken, because the range limitation was removed
together with argument parsing. Let's fix this.

Change-Id: If582af3849359866de129504cc5b2dc6d64edbd5
---
M src/target/trx_toolkit/ctrl_if_bb.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/58/12258/1

diff --git a/src/target/trx_toolkit/ctrl_if_bb.py b/src/target/trx_toolkit/ctrl_if_bb.py
index aaa12f1..785636b 100644
--- a/src/target/trx_toolkit/ctrl_if_bb.py
+++ b/src/target/trx_toolkit/ctrl_if_bb.py
@@ -134,7 +134,7 @@
 			log.debug("Recv SETTA cmd")
 
 			# Save to the BurstForwarder instance
-			self.burst_fwd.ta = ta
+			self.burst_fwd.ta = int(request[1])
 			return 0
 
 		# Timing of Arrival simulation for Uplink

-- 
To view, visit https://gerrit.osmocom.org/12258
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If582af3849359866de129504cc5b2dc6d64edbd5
Gerrit-Change-Number: 12258
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181211/af7cda05/attachment.htm>


More information about the gerrit-log mailing list