Review at  https://gerrit.osmocom.org/6708

fake_trx/burst_fwd.py: append two unused bytes at the end

Change-Id: I1d7ed076d93b37699520ee2a31c42c177f966865
---
M src/target/fake_trx/burst_fwd.py
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/08/6708/1

diff --git a/src/target/fake_trx/burst_fwd.py b/src/target/fake_trx/burst_fwd.py
index d822747..161710c 100644
--- a/src/target/fake_trx/burst_fwd.py
+++ b/src/target/fake_trx/burst_fwd.py
@@ -50,6 +50,9 @@
                for i in range(8, length):
                        payload[i] = 255 if payload[i] else 0
 
+               # WTF: append two unused bytes at the end
+               payload[length:2] = [0x00, 0x00]
+
                return payload
 
        # Downlink handler: BTS -> BB

-- 
To view, visit https://gerrit.osmocom.org/6708
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1d7ed076d93b37699520ee2a31c42c177f966865
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>

Reply via email to