summaryrefslogtreecommitdiffstats
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>2012-05-02 20:13:41 +0200
commit8700474bbc064472ad60bcfb828bab5219bda01a (patch)
tree1b8d8363176caab72125aecc1995a3ef8a8f0c43
parent9670776c63db2e176d5cbf7ef0e2bb49a50d16e3 (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.
-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 9ada9b508..cae7c5704 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
@@ -397,7 +397,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;
}