From ca918da184aef6b3d08c8b29bf99250cc52c4af4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 18 Dec 2014 18:31:54 +0100 Subject: [PATCH] ho: Copy the multirate config to the new lchan The new lchan will be in speech mode already but for AMR we will need to provide a working multirate config in the channel activation, otherwise the channel act might be nacked. Copy the config from the current lchan into the new lchan. The abis code simply added the mrconf if the speech mode was amr. Before this commit the invalidate mrconf with all zeroes was copied/sent. --- openbsc/src/libbsc/handover_logic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openbsc/src/libbsc/handover_logic.c b/openbsc/src/libbsc/handover_logic.c index 9284f7ee..ff6e9934 100644 --- a/openbsc/src/libbsc/handover_logic.c +++ b/openbsc/src/libbsc/handover_logic.c @@ -133,6 +133,7 @@ int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *bts) new_lchan->bs_power = old_lchan->bs_power; new_lchan->rsl_cmode = old_lchan->rsl_cmode; new_lchan->tch_mode = old_lchan->tch_mode; + new_lchan->mr_conf = old_lchan->mr_conf; new_lchan->conn = old_lchan->conn; new_lchan->conn->ho_lchan = new_lchan;