aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDieter Spaar <spaar@mirider.augusta.de>2010-10-05 21:10:55 +0200
committerHarald Welte <laforge@gnumonks.org>2010-10-05 21:10:55 +0200
commitd6613e05d7d8405c8da05a54f2ab9e1c73ccdbbc (patch)
tree350b157e3a9528ce9f80d5c11be62bc4a64509c9
parent0c41b6933efc3dcc57bb8cd0151640306abd95ce (diff)
[VTY] T3212 scaling is 6 minutes
The scaling of T3212 is in units of 6 minutes, not 10 minutes.
-rw-r--r--openbsc/src/bsc_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/bsc_vty.c b/openbsc/src/bsc_vty.c
index 99b050bc6..97641f2b1 100644
--- a/openbsc/src/bsc_vty.c
+++ b/openbsc/src/bsc_vty.c
@@ -411,7 +411,7 @@ static void config_write_bts_single(struct vty *vty, struct gsm_bts *bts)
bts->si_common.cell_sel_par.rxlev_acc_min, VTY_NEWLINE);
if (bts->si_common.chan_desc.t3212)
vty_out(vty, " periodic location update %u%s",
- bts->si_common.chan_desc.t3212 * 10, VTY_NEWLINE);
+ bts->si_common.chan_desc.t3212 * 6, VTY_NEWLINE);
vty_out(vty, " channel allocator %s%s",
bts->chan_alloc_reverse ? "descending" : "ascending",
VTY_NEWLINE);
@@ -1658,7 +1658,7 @@ DEFUN(cfg_bts_per_loc_upd, cfg_bts_per_loc_upd_cmd,
{
struct gsm_bts *bts = vty->index;
- bts->si_common.chan_desc.t3212 = atoi(argv[0]) / 10;
+ bts->si_common.chan_desc.t3212 = atoi(argv[0]) / 6;
return CMD_SUCCESS;
}