aboutsummaryrefslogtreecommitdiffstats
path: root/src/libbsc/bsc_vty.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-09-07 19:10:09 +0200
committerMax <msuraev@sysmocom.de>2017-09-08 08:31:02 +0000
commitbe356ed32fbd28dc8d1460371d9e47511b20ac63 (patch)
tree2225a883885375de0cb46c29b7cd0212c447710a /src/libbsc/bsc_vty.c
parent4a0c01167bb11de583fe83522a68a3f299185838 (diff)
Make TRX rf locking more visible
* log administrative state transitions * log what's caused it * while at it, mark boolean variable as such Change-Id: I3e25a19fac4d0b4886d825c9876771b1f66efe58 Related: SYS#3864
Diffstat (limited to 'src/libbsc/bsc_vty.c')
-rw-r--r--src/libbsc/bsc_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libbsc/bsc_vty.c b/src/libbsc/bsc_vty.c
index 42c16e89b..3a80f06bc 100644
--- a/src/libbsc/bsc_vty.c
+++ b/src/libbsc/bsc_vty.c
@@ -3575,7 +3575,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;
}