aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/chan_alloc.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2014-01-19 11:47:44 +0100
committerIvan Kluchnikov <kluchnikovi@gmail.com>2014-05-06 17:22:32 +0400
commitc5aa3764beba8ced23c7366a969de8e8cf867f6e (patch)
tree2db852790688594c78e913cf131607f271affc2e /openbsc/src/libbsc/chan_alloc.c
parentbe097ca15534d3f197c2068cd302fd8d90c459a1 (diff)
Add full AMR multirate IE support with VTY config for MS and BTS side
Diffstat (limited to 'openbsc/src/libbsc/chan_alloc.c')
-rw-r--r--openbsc/src/libbsc/chan_alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c
index 9b74329f4..3feecc59c 100644
--- a/openbsc/src/libbsc/chan_alloc.c
+++ b/openbsc/src/libbsc/chan_alloc.c
@@ -280,7 +280,8 @@ struct gsm_lchan *lchan_alloc(struct gsm_bts *bts, enum gsm_chan_t type,
memset(lchan->sapis, 0, ARRAY_SIZE(lchan->sapis));
/* clear multi rate config */
- memset(&lchan->mr_conf, 0, sizeof(lchan->mr_conf));
+ memset(&lchan->mr_ms_lv, 0, sizeof(lchan->mr_ms_lv));
+ memset(&lchan->mr_bts_lv, 0, sizeof(lchan->mr_bts_lv));
} else {
struct challoc_signal_data sig;
sig.bts = bts;