Change in osmo-bsc[master]: log: assignment_fsm: tweak err msg for incompatible chan

neels gerrit-no-reply at lists.osmocom.org
Thu Jun 10 15:22:08 UTC 2021


neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/24383 )

Change subject: log: assignment_fsm: tweak err msg for incompatible chan
......................................................................

log: assignment_fsm: tweak err msg for incompatible chan

Related: SYS#5315 OS#4940
Change-Id: Ifd8790923d54a27061708ff8077d509238b9c7dd
---
M src/osmo-bsc/assignment_fsm.c
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve



diff --git a/src/osmo-bsc/assignment_fsm.c b/src/osmo-bsc/assignment_fsm.c
index fd047eb..f5aee82 100644
--- a/src/osmo-bsc/assignment_fsm.c
+++ b/src/osmo-bsc/assignment_fsm.c
@@ -576,8 +576,10 @@
 		}
 		if (!matching_mode) {
 			assignment_fail(GSM0808_CAUSE_NO_RADIO_RESOURCE_AVAILABLE,
-					"Assignment to lchan %s requested, but lchan is not compatible\n",
-					gsm_lchan_name(req->target_lchan));
+					"Assignment of lchan %s to %s type %s requested, but lchan is not compatible",
+					gsm_lchan_name(conn->lchan),
+					gsm_lchan_name(req->target_lchan),
+					gsm_lchant_name(conn->assignment.new_lchan->type));
 			return;
 		}
 	} else {

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ifd8790923d54a27061708ff8077d509238b9c7dd
Gerrit-Change-Number: 24383
Gerrit-PatchSet: 29
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
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/20210610/5766c786/attachment.htm>


More information about the gerrit-log mailing list