From 8700474bbc064472ad60bcfb828bab5219bda01a 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') 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; } -- cgit v1.2.3