aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/bsc_vty.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-09-07 19:10:09 +0200
committerHarald Welte <laforge@gnumonks.org>2017-10-23 17:53:48 +0000
commit5a4594614390978f7dab05f08d607c3903163cea (patch)
tree751294462bd31537dc5e79e1dfb527ffecd1aeb9 /openbsc/src/libbsc/bsc_vty.c
parent65021ac50792a42bcc21e482c27e0f915c435716 (diff)
Make TRX rf locking more visible
* log administrative state transitions * log what's caused it * while at it, mark boolean variable as such Cherry-picked from osmo-bsc be356ed32fbd28dc8d1460371d9e47511b20ac63 Change-Id: I3e25a19fac4d0b4886d825c9876771b1f66efe58 Related: SYS#3864
Diffstat (limited to 'openbsc/src/libbsc/bsc_vty.c')
-rw-r--r--openbsc/src/libbsc/bsc_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c
index f50ebd8f4..5fb1c5d0e 100644
--- a/openbsc/src/libbsc/bsc_vty.c
+++ b/openbsc/src/libbsc/bsc_vty.c
@@ -3562,7 +3562,7 @@ DEFUN(cfg_trx_rf_locked,
int locked = atoi(argv[0]);
struct gsm_bts_trx *trx = vty->index;
- gsm_trx_lock_rf(trx, locked);
+ gsm_trx_lock_rf(trx, locked, "vty");
return CMD_SUCCESS;
}