aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/l1_if.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.c')
-rw-r--r--src/osmo-bts-sysmo/l1_if.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index 8bc7a28a..b9c16c9a 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -1074,6 +1074,14 @@ static int reset_compl_cb(struct msgb *resp, void *data)
/* obtain version information on DSP/FPGA and band capabilities */
l1if_get_info(fl1h);
+#if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(2,1,0)
+ /* load calibration tables (if we know their path) */
+ if (fl1h->calib_path)
+ calib_load(fl1h);
+ else
+#endif
+ LOGP(DL1C, LOGL_NOTICE, "Operating without calibration tables!\n");
+
/* otherwise, request activation of RF board */
l1if_activate_rf(fl1h, 1);