[MERGED] osmo-bts[master]: LC15: properly handle BS-AG-BLKS-RES as received from BSC

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Jun 24 14:47:06 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: LC15: properly handle BS-AG-BLKS-RES as received from BSC
......................................................................


LC15: properly handle BS-AG-BLKS-RES as received from BSC

Closes: OS#2014
Change-Id: Icf437e621d1991f6185e31a0953773309e2bf5ac
---
M src/osmo-bts-litecell15/l1_if.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bts-litecell15/l1_if.c b/src/osmo-bts-litecell15/l1_if.c
index 5977aa9..71bb833 100644
--- a/src/osmo-bts-litecell15/l1_if.c
+++ b/src/osmo-bts-litecell15/l1_if.c
@@ -389,7 +389,7 @@
 		/* The sapi depends on DSP configuration, not
 		 * on the actual SYSTEM INFORMATION 3. */
 		u8BlockNbr = L1SAP_FN2CCCHBLOCK(u32Fn);
-		if (u8BlockNbr >= 1)
+		if (u8BlockNbr >= num_agch(trx, "PH-DATA-REQ"))
 			sapi = GsmL1_Sapi_Pch;
 		else
 			sapi = GsmL1_Sapi_Agch;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icf437e621d1991f6185e31a0953773309e2bf5ac
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Minh-Quang Nguyen <minh-quang.nguyen at nutaq.com>



More information about the gerrit-log mailing list