Change in osmo-bts[master]: l1sap: radio_link_timeout(): bad_frame is a boolean

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
Fri Aug 7 19:01:40 UTC 2020


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/19535 )

Change subject: l1sap: radio_link_timeout(): bad_frame is a boolean
......................................................................

l1sap: radio_link_timeout(): bad_frame is a boolean

Change-Id: Id173f69705948aafe861ec36450b147deda95246
---
M src/common/l1sap.c
1 file changed, 3 insertions(+), 3 deletions(-)

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



diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index ea1219f..eac5000 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1168,7 +1168,7 @@
 /* process radio link timeout counter S. Follows TS 05.08 Section 5.2
  * "MS Procedure" as the "BSS Procedure [...] shall be determined by the
  * network operator." */
-static void radio_link_timeout(struct gsm_lchan *lchan, int bad_frame)
+static void radio_link_timeout(struct gsm_lchan *lchan, bool bad_frame)
 {
 	struct gsm_bts *bts = lchan->ts->trx->bts;
 
@@ -1332,7 +1332,7 @@
 			le = &lchan->lapdm_ch.lapdm_acch;
 			rsl_tx_meas_res(lchan, NULL, 0, le);
 
-			radio_link_timeout(lchan, 1);
+			radio_link_timeout(lchan, true);
 			lchan_ms_pwr_ctrl(lchan, lchan->ms_power_ctrl.current, data_ind->rssi);
 		}
 		return -EINVAL;
@@ -1343,7 +1343,7 @@
 		handover_frame(lchan);
 
 	if (L1SAP_IS_LINK_SACCH(link_id)) {
-		radio_link_timeout(lchan, 0);
+		radio_link_timeout(lchan, false);
 		le = &lchan->lapdm_ch.lapdm_acch;
 		/* save the SACCH L1 header in the lchan struct for RSL MEAS RES */
 		if (len < 2) {

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id173f69705948aafe861ec36450b147deda95246
Gerrit-Change-Number: 19535
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200807/95913291/attachment.htm>


More information about the gerrit-log mailing list