aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty_interface.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-25 04:58:08 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-25 04:58:08 +0100
commitaebea482f54a97deaca8688c79af3809a756240c (patch)
treeee1df27e820e16e8eb4f2fefca05cb136777486a /openbsc/src/vty_interface.c
parent12f20d369c6bba0dfe61e433c14d220b9c43febd (diff)
channel request: Store the to be assigned channel type in the GSM Network
Store the mapping from request to channel type in the GSM Network struct as there is some policy involved with handling the request. E.g. in a half rate network we don't want emergy calls to be getting a TCH/F, or we want to have a different policy for early/late assignment of phone calls. Update the table when creating the network and when the neci is changed.
Diffstat (limited to 'openbsc/src/vty_interface.c')
-rw-r--r--openbsc/src/vty_interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index 09b95cac1..a5ed0d21a 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -1265,6 +1265,7 @@ DEFUN(cfg_net_neci,
"Set if NECI of cell selection is to be set")
{
gsmnet->neci = atoi(argv[0]);
+ gsm_net_update_ctype(gsmnet);
return CMD_SUCCESS;
}