diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-27 14:24:08 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-27 14:26:39 +0100 |
commit | f56d56c439034c8b8bc7eb0843ba5ee1cf2400e5 (patch) | |
tree | 0c8a16404c6494315564baed536690182af74d59 /src/osmo-bts-sysmo/sysmobts_vty.c | |
parent | ed9d643036d159bcd6dca0d7af47e6691b572a8a (diff) |
sysmobts: Activate the BCCH silently have have state set to active
Use the lchan->rel_act_kind field for the BCCH activatiob by OML.
The lchan's should be marked as active but no event should be sent to
the BSC. This is mostly like the PCU. We can now remove the secnd
argument from lchan_activate.
Diffstat (limited to 'src/osmo-bts-sysmo/sysmobts_vty.c')
-rw-r--r-- | src/osmo-bts-sysmo/sysmobts_vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/sysmobts_vty.c b/src/osmo-bts-sysmo/sysmobts_vty.c index 3dfd6f79..cd51a962 100644 --- a/src/osmo-bts-sysmo/sysmobts_vty.c +++ b/src/osmo-bts-sysmo/sysmobts_vty.c @@ -48,7 +48,7 @@ #include "utils.h" -extern int lchan_activate(struct gsm_lchan *lchan, enum gsm_lchan_state lchan_state); +extern int lchan_activate(struct gsm_lchan *lchan); extern int lchan_deactivate(struct gsm_lchan *lchan); #define TRX_STR "Transceiver related commands\n" "TRX number\n" @@ -403,7 +403,7 @@ DEFUN(activate_lchan, activate_lchan_cmd, struct gsm_lchan *lchan = &ts->lchan[lchan_nr]; if (!strcmp(argv[2], "activate")) - lchan_activate(lchan, LCHAN_S_ACT_REQ); + lchan_activate(lchan); else lchan_deactivate(lchan); |