aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-04-13 14:34:37 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2017-04-13 19:03:56 +0200
commit7a21dccec1c672e0c071eb5f264a26c248ac6cac (patch)
treecbcf6ee640e8791cdefeb4a25f91636414c39b6c /src
parentd040bf97de45a4ff70d51f76f70f4a64693e4df3 (diff)
octphy: display hint in case of wrongly configured transceiver number
Making use of the multi-trx feature requires to tell osmo-bts that more than one transceiver are available. Otherwise it will complain that not enough transceivers are available. This can be quite confusing, even a correct config file will fail to parse if it specifies more transcrivers than available. This patch adds a hint to the error message so that the user knows that he should check the -t commandline option Change-Id: Ifbeacd9d43f7c6cd74a1e1b33288e66828fe843f
Diffstat (limited to 'src')
-rw-r--r--src/common/vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index a48f8095..44c742c9 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -224,6 +224,8 @@ DEFUN(cfg_bts_trx, cfg_bts_trx_cmd,
if (!trx) {
vty_out(vty, "Unknown TRX %u. Available TRX are: 0..%u%s",
trx_nr, bts->num_trx - 1, VTY_NEWLINE);
+ vty_out(vty, "Hint: Check if commandline option -t matches the"
+ "number of available transceivers!%s", VTY_NEWLINE);
return CMD_WARNING;
}