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
committerHarald Welte <laforge@gnumonks.org>2015-09-22 16:46:27 +0200
commit732665269e2f7d2494da48fab44021fa7efd638f (patch)
tree0f8ef2b457986e82e4af5d64518fe7a868f39503 /openbsc/src/libbsc/chan_alloc.c
parent354d1f3084a1f08c52f37f119f4524eb454b214f (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c
index d8f908770..de9da810d 100644
--- a/openbsc/src/libbsc/chan_alloc.c
+++ b/openbsc/src/libbsc/chan_alloc.c
@@ -197,8 +197,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));
lchan->broken_reason = "";
} else {
struct challoc_signal_data sig;