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
Wed Oct 9 11:14:08 UTC 2019


fixeria has submitted this change and it was merged. ( 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(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191009/000a6fec/attachment.htm>


More information about the gerrit-log mailing list