aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/calib_file.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-01-22 07:37:41 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-02-27 09:07:18 +0100
commit654fe73b78993c6e421162c8a7b41f009d7d2e40 (patch)
tree217ad0ac4b499c06702ed35a04dab86960623830 /src/osmo-bts-sysmo/calib_file.c
parent6142f9262adf197d60a31ab4636ac0886dc32316 (diff)
sysmobts: We can now pass the trx to the callback change the signatures
Diffstat (limited to 'src/osmo-bts-sysmo/calib_file.c')
-rw-r--r--src/osmo-bts-sysmo/calib_file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/osmo-bts-sysmo/calib_file.c b/src/osmo-bts-sysmo/calib_file.c
index 8e263f93..f402e752 100644
--- a/src/osmo-bts-sysmo/calib_file.c
+++ b/src/osmo-bts-sysmo/calib_file.c
@@ -200,7 +200,7 @@ int calib_file_read(const char *path, const struct calib_file_desc *desc,
/* iteratively download the calibration data into the L1 */
-static int calib_send_compl_cb(struct msgb *l1_msg, void *data);
+static int calib_send_compl_cb(struct gsm_bts_trx *trx, struct msgb *l1_msg);
/* send the calibration table for a single specified file */
static int calib_file_send(struct femtol1_hdl *fl1h,
@@ -221,9 +221,8 @@ static int calib_file_send(struct femtol1_hdl *fl1h,
}
/* completion callback after every SetCalibTbl is confirmed */
-static int calib_send_compl_cb(struct msgb *l1_msg, void *data)
+static int calib_send_compl_cb(struct gsm_bts_trx *trx, struct msgb *l1_msg)
{
- struct gsm_bts_trx *trx = data;
struct femtol1_hdl *fl1h = trx_femtol1_hdl(trx);
struct calib_send_state *st = &fl1h->st;