From d6613e05d7d8405c8da05a54f2ab9e1c73ccdbbc Mon Sep 17 00:00:00 2001 From: Dieter Spaar Date: Tue, 5 Oct 2010 21:10:55 +0200 Subject: [VTY] T3212 scaling is 6 minutes The scaling of T3212 is in units of 6 minutes, not 10 minutes. --- openbsc/src/bsc_vty.c | 4 ++-- 1 file 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; } -- cgit v1.2.3