[PATCH] osmo-bts[master]: WIP: FIX REL_IND merge mismatch

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
Tue Feb 27 16:32:49 UTC 2018


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

WIP: FIX REL_IND merge mismatch

Change-Id: I823c9101bcca72d5792e16379b02d3602ffc2726
---
M src/common/rsl.c
1 file changed, 7 insertions(+), 7 deletions(-)


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

diff --git a/src/common/rsl.c b/src/common/rsl.c
index 5c266ba..a012b5d 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -2477,6 +2477,13 @@
 		LOGP(DRSL, LOGL_INFO, "%s Handing RLL msg %s from LAPDm to MEAS REP\n",
 			gsm_lchan_name(lchan), rsl_msg_name(rh->msg_type));
 
+		rc = rsl_tx_meas_res(lchan, msgb_l3(msg), msgb_l3len(msg), le);
+		msgb_free(msg);
+		return rc;
+	} else {
+		LOGP(DRSL, LOGL_INFO, "%s Fwd RLL msg %s from LAPDm to A-bis\n",
+			gsm_lchan_name(lchan), rsl_msg_name(rh->msg_type));
+
 		/* REL_IND handling */
 		if (rh->msg_type == RSL_MT_REL_IND &&
 			(lchan->type == GSM_LCHAN_TCH_F || lchan->type == GSM_LCHAN_TCH_H)) {
@@ -2492,13 +2499,6 @@
 			lchan->pending_rel_ind_msg = msg;
 			return 0;
 		}
-
-		rc = rsl_tx_meas_res(lchan, msgb_l3(msg), msgb_l3len(msg), le);
-		msgb_free(msg);
-		return rc;
-	} else {
-		LOGP(DRSL, LOGL_INFO, "%s Fwd RLL msg %s from LAPDm to A-bis\n",
-			gsm_lchan_name(lchan), rsl_msg_name(rh->msg_type));
 
 		return abis_bts_rsl_sendmsg(msg);
 	}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I823c9101bcca72d5792e16379b02d3602ffc2726
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list