path: root/src
diff options
authorVadim Yanitskiy <>2019-06-24 11:40:34 +0700
committerVadim Yanitskiy <>2019-07-02 13:48:06 +0700
commit62825cc8eb4e26d58d32a0af72b17256b185af61 (patch)
tree62de9ea73dea5689a12e5b4e8d86e3b71c55249a /src
parentdce8a24a2c82f6e36c44bca318f741848caa5ad4 (diff)
trx_toolkit/ legacy flag is only for version 0x00
Since version 0x01, the burst bits are encoded as L16V, so appending two dummy octets doesn't make sense. Change-Id: I4d6c0bf54649d636ea6cb3fa2f37486b6619d5b3
Diffstat (limited to 'src')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/trx_toolkit/ b/src/target/trx_toolkit/
index a2996abe..e946229f 100644
--- a/src/target/trx_toolkit/
+++ b/src/target/trx_toolkit/
@@ -271,7 +271,7 @@ class DATAMSG:
# This is a rudiment from (legacy) OpenBTS transceiver,
# some L1 implementations still expect two dummy bytes.
- if legacy:
+ if legacy and self.ver == 0x00:
buf += bytearray(2)
return buf