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

Change-Id: I66c4f45afda614f874c9cdf0c22552f492315b71
This commit is contained in:
Neels Hofmeyr 2018-02-15 14:19:38 +01:00
parent 45e46d2c88
commit 8489b463f9
1 changed files with 2 additions and 2 deletions

View File

@ -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);