aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-06-04 09:32:35 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-07-19 19:53:52 +0200
commit5e3bbba96286f672b56568ee58785621054b72e5 (patch)
tree5f8d1e9859ce71773f58822f463a34d071585184 /openbsc/src/osmo-bsc/osmo_bsc_main.c
parentfe1ca353bb7285f71ba1d22675c6c840770706ce (diff)
bsc: Call the RF Control interface ctrl all the way
We had the rf_ctrl_name and the rf_ctl pointer, make both use the word ctrl.
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_main.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c
index c9ae975cb..2a4ed1aa7 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_main.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c
@@ -48,7 +48,7 @@
struct gsm_network *bsc_gsmnet = 0;
static const char *config_file = "openbsc.cfg";
-static const char *rf_ctl = NULL;
+static const char *rf_ctrl = NULL;
extern const char *openbsc_copyright;
static int daemonize = 0;
@@ -119,7 +119,7 @@ static void handle_options(int argc, char **argv)
log_set_log_level(osmo_stderr_target, atoi(optarg));
break;
case 'r':
- rf_ctl = optarg;
+ rf_ctrl = optarg;
break;
default:
/* ignore */
@@ -370,13 +370,13 @@ int main(int argc, char **argv)
ctrl_cmd_install(CTRL_NODE_TRX, &cmd_trx_rf_lock);
data = bsc_gsmnet->msc_data;
- if (rf_ctl)
- bsc_replace_string(data, &data->rf_ctrl_name, rf_ctl);
+ if (rf_ctrl)
+ bsc_replace_string(data, &data->rf_ctrl_name, rf_ctrl);
if (data->rf_ctrl_name) {
- data->rf_ctl = osmo_bsc_rf_create(data->rf_ctrl_name,
+ data->rf_ctrl = osmo_bsc_rf_create(data->rf_ctrl_name,
bsc_gsmnet);
- if (!data->rf_ctl) {
+ if (!data->rf_ctrl) {
fprintf(stderr, "Failed to create the RF service.\n");
exit(1);
}