aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/calib_file.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-01 10:51:26 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-04 17:38:15 +0200
commit89582f7e77068bc38fa9ee391f5c898913f241a7 (patch)
tree5ff4505d67bc65ec603532805fa6ab7e4db1685a /src/osmo-bts-sysmo/calib_file.c
parent270cf418fc64ad77b179f75394c5dc34c95f4388 (diff)
sysmobts: Add a method to free cached epprom resources
Close the cached file descriptor once the calibration data is loaded and applied.
Diffstat (limited to 'src/osmo-bts-sysmo/calib_file.c')
-rw-r--r--src/osmo-bts-sysmo/calib_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/calib_file.c b/src/osmo-bts-sysmo/calib_file.c
index a81deae0..84de31fb 100644
--- a/src/osmo-bts-sysmo/calib_file.c
+++ b/src/osmo-bts-sysmo/calib_file.c
@@ -379,6 +379,7 @@ static int calib_send_compl_cb(struct gsm_bts_trx *trx, struct msgb *l1_msg)
&calib_files[st->last_file_idx]);
LOGP(DL1C, LOGL_INFO, "L1 calibration table loading complete!\n");
+ eeprom_free_resources();
return 0;
}