From 431ceada365a0979897153f62d0ed379618c8082 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 19 Nov 2011 22:56:12 +0100 Subject: 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. --- openbsc/src/osmo-bsc/osmo_bsc_ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/osmo-bsc/osmo_bsc_ctrl.c') 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; } -- cgit v1.2.3