[MERGED] osmo-bsc[master]: HO: cosmetic: getting a chan activ nack on a non-ho lchan is...

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Feb 19 16:30:58 UTC 2018


Neels Hofmeyr has submitted this change and it was merged.

Change subject: HO: cosmetic: getting a chan activ nack on a non-ho lchan is not an error
......................................................................


HO: cosmetic: getting a chan activ nack on a non-ho lchan is not an error

Change-Id: I66c4f45afda614f874c9cdf0c22552f492315b71
---
M src/libbsc/handover_logic.c
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/src/libbsc/handover_logic.c b/src/libbsc/handover_logic.c
index 483c76b..cdc21f5 100644
--- a/src/libbsc/handover_logic.c
+++ b/src/libbsc/handover_logic.c
@@ -255,8 +255,8 @@
 
 	ho = bsc_ho_by_new_lchan(new_lchan);
 	if (!ho) {
-		LOGP(DHO, LOGL_INFO, "ACT NACK: unable to find HO record\n");
-		return -ENODEV;
+		/* This lchan is not involved in a handover. */
+		return 0;
 	}
 
 	hdc = handover_decision_callbacks_get(ho->from_hodec_id);

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I66c4f45afda614f874c9cdf0c22552f492315b71
Gerrit-PatchSet: 4
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>


More information about the gerrit-log mailing list