Change in ...osmo-bts[master]: L1SAP: properly handle 11-bit encoded RACH.ind in gsmtap_ph_rach()

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

fixeria gerrit-no-reply at lists.osmocom.org
Tue Oct 8 20:19:22 UTC 2019


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/15712


Change subject: L1SAP: properly handle 11-bit encoded RACH.ind in gsmtap_ph_rach()
......................................................................

L1SAP: properly handle 11-bit encoded RACH.ind in gsmtap_ph_rach()

Change-Id: Id263c2b716fd282d37d705a1c5f430ce7c0edaf0
---
M src/common/l1sap.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/12/15712/1

diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 06de8a3..67d569b 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -371,7 +371,7 @@
 	}
 
 	*data = (uint8_t *)&l1sap->u.rach_ind.ra;
-	*len = 1;
+	*len = (l1sap->u.rach_ind.is_11bit) ? 2 : 1;
 
 	return 0;
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/15712
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id263c2b716fd282d37d705a1c5f430ce7c0edaf0
Gerrit-Change-Number: 15712
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191008/98702746/attachment.htm>


More information about the gerrit-log mailing list