aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-02-15 14:19:38 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-02-19 17:11:47 +0100
commit8489b463f93f6e7afc52390a7fbfceb20b9860b8 (patch)
treec5eb7b02647d0edf34798c493124c4382324093e
parent45e46d2c88f0bc9c72d89a9e03c78add4b318d0f (diff)
HO: cosmetic: getting a chan activ nack on a non-ho lchan is not an error
-rw-r--r--src/libbsc/handover_logic.c4
1 files changed, 2 insertions, 2 deletions
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 @@ static int ho_chan_activ_nack(struct gsm_lchan *new_lchan)
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);