From 1fb66c8e6a2f79f48b0a79946f6f844e29527817 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 24 Aug 2014 18:16:45 +0200 Subject: disable clock control interface on HW_SYSMOBTS_V1 --- src/osmo-bts-sysmo/sysmobts_ctrl.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit v1.2.3