aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/sysmobts_ctrl.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-24 18:16:45 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-24 18:16:45 +0200
commit1fb66c8e6a2f79f48b0a79946f6f844e29527817 (patch)
tree6b06a24961661feafff9c47d2825450c568eec1d /src/osmo-bts-sysmo/sysmobts_ctrl.c
parentab09e27d72408dd17b89263b8b9df0e5e9aa593a (diff)
disable clock control interface on HW_SYSMOBTS_V1
Diffstat (limited to 'src/osmo-bts-sysmo/sysmobts_ctrl.c')
-rw-r--r--src/osmo-bts-sysmo/sysmobts_ctrl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/sysmobts_ctrl.c b/src/osmo-bts-sysmo/sysmobts_ctrl.c
index 97b89221..00824ddf 100644
--- a/src/osmo-bts-sysmo/sysmobts_ctrl.c
+++ b/src/osmo-bts-sysmo/sysmobts_ctrl.c
@@ -47,6 +47,7 @@
/* for control interface */
+#ifndef HW_SYSMOBTS_V1
CTRL_CMD_DEFINE(clock_info, "clock-info");
static int ctrl_clkinfo_cb(struct gsm_bts_trx *trx, struct msgb *resp,
void *data)
@@ -241,13 +242,16 @@ static int verify_clock_corr(struct ctrl_cmd *cmd, const char *value, void *data
/* FIXME: check the range */
return 0;
}
+#endif /* HW_SYSMOBTS_V1 */
int sysmobts_ctrlif_inst_cmds(void)
{
int rc = 0;
+#ifndef HW_SYSMOBTS_V1
rc |= ctrl_cmd_install(CTRL_NODE_TRX, &cmd_clock_info);
rc |= ctrl_cmd_install(CTRL_NODE_TRX, &cmd_clock_corr);
+#endif /* HW_SYSMOBTS_V1 */
return rc;
}