aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-11-19 22:56:12 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-01-15 11:27:28 +0100
commit431ceada365a0979897153f62d0ed379618c8082 (patch)
tree58e0fc0c504b9f0f965016420e14dc6fa698b223 /openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
parent25eca0bfdccf56ce5e25d9c9c8f05f16f1984086 (diff)
bsc: Create a better error message for when RF commands are rejected
Provide an error message that makes it more clear that the command is rejected because RF handling is not enabled in the BSC.
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_ctrl.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
index 40658c11b..e4c6fea1b 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
@@ -395,7 +395,7 @@ static int set_net_rf_lock(struct ctrl_cmd *cmd, void *data)
}
if (!net->bsc_data->rf_ctrl) {
- cmd->reply = "RF Ctrl not enabled";
+ cmd->reply = "RF Ctrl is not enabled in the BSC Configuration";
return CTRL_CMD_ERROR;
}