Change in osmo-bsc[master]: follow-up: logging tweak for Immediate Assignment

Neels Hofmeyr gerrit-no-reply at
Fri Nov 30 18:33:41 UTC 2018

Neels Hofmeyr has submitted this change and it was merged. ( )

Change subject: follow-up: logging tweak for Immediate Assignment

follow-up: logging tweak for Immediate Assignment

follow-up to I9ad094d272254d7aee9b0a676201d4ed8cd727ca because it was merged
before fixeria's code review could be incorporated.

Change-Id: I474cf1a58d1f00ec5b0ae52bd095a60aad763975
M src/osmo-bsc/lchan_fsm.c
1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c
index 5e99239..742836c 100644
--- a/src/osmo-bsc/lchan_fsm.c
+++ b/src/osmo-bsc/lchan_fsm.c
@@ -97,17 +97,15 @@
 	switch (activ_for) {
-		if (lchan->activate.immediate_assignment_sent) {
-				  "lchan activation failed, after Immediate Assignment message was sent (%s)\n",
-				  lchan->last_error ? : "unknown error");
-			/* Likely the MS never showed up. Just tear down the lchan. */
-		} else {
+		if (!lchan->activate.immediate_assignment_sent) {
 			/* Failure before Immediate Assignment message, send a reject. */
 			LOG_LCHAN(lchan, LOGL_NOTICE, "Tx Immediate Assignment Reject (%s)\n",
 				  lchan->last_error ? : "unknown error");
 			rsl_tx_imm_ass_rej(lchan->ts->trx->bts, lchan->rqd_ref);
+		/* Otherwise, likely the MS never showed up after the Assignment, and the failure cause
+		 * (Timeout?) was already logged elsewhere. Just continue to tear down the lchan after
+		 * lchan_on_activation_failure(), no additional action or logging needed. */

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I474cf1a58d1f00ec5b0ae52bd095a60aad763975
Gerrit-Change-Number: 11942
Gerrit-PatchSet: 2
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list