path: root/openbsc/src/libbsc/handover_logic.c
diff options
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-12-18 18:31:54 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-12-18 18:33:11 +0100
commit22fd3cd0de098de3816d687e41d42fe551412a33 (patch)
tree961c6e0ee6b3235e3c0acec933d7151022df4d37 /openbsc/src/libbsc/handover_logic.c
parentd30ed6b6f2d8eb56a035354694d12f4395103edc (diff)
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.
Diffstat (limited to 'openbsc/src/libbsc/handover_logic.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/handover_logic.c b/openbsc/src/libbsc/handover_logic.c
index 9284f7ee3..ff6e99346 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;