aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_main.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-13 14:09:45 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-13 14:53:15 +0200
commitf505f5dff1bc20494b25c6759752ad4e37325793 (patch)
treececba84003dbb555459613faef492d2edb4a1911 /openbsc/src/osmo-bsc/osmo_bsc_main.c
parent07252918ea563071e6d5b7df6cc32dd7a3c8589e (diff)
controlif: Adapt to minor data structure change regarding nm_state
This was required due to master diverging from where controlif had last branched off.
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_main.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c
index 248944b6c..1eb8abd96 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_main.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c
@@ -260,7 +260,7 @@ int get_trx_rf_lock(struct ctrl_cmd *cmd, void *data)
return CTRL_CMD_ERROR;
}
- cmd->reply = talloc_asprintf(cmd, "%u", trx->nm_state.administrative == NM_STATE_LOCKED ? 1 : 0);
+ cmd->reply = talloc_asprintf(cmd, "%u", trx->mo.nm_state.administrative == NM_STATE_LOCKED ? 1 : 0);
return CTRL_CMD_REPLY;
}