From b7eb9865df3d66df446ec40e34432f2fbd6546fe Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 19 Dec 2012 23:36:06 +0100 Subject: calib: Use 2.4.0 as cut-off for the firmware, log errors In case opening a calibration file is failing an error will will be logged, the caller and implementation were inconsistent about the API version that is supported for the calibration data, attempt to make the cut-off at 2.4.0. --- src/osmo-bts-sysmo/l1_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osmo-bts-sysmo/l1_if.c') diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c index d848f7de..e42d26cc 100644 --- a/src/osmo-bts-sysmo/l1_if.c +++ b/src/osmo-bts-sysmo/l1_if.c @@ -1102,7 +1102,7 @@ static int reset_compl_cb(struct gsm_bts_trx *trx, struct msgb *resp) /* obtain version information on DSP/FPGA and band capabilities */ l1if_get_info(fl1h); -#if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(2,1,0) +#if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(2,4,0) /* load calibration tables (if we know their path) */ if (fl1h->calib_path) calib_load(fl1h); -- cgit v1.2.3