Harald Welte has submitted this change and it was merged.

Change subject: measurement: make lchan_meas_check_compute() available to 
l1sap.c
......................................................................


measurement: make lchan_meas_check_compute() available to l1sap.c

lchan_meas_check_compute() is a static function measurement.c.
In order to distribute the measurement result calculation events,
we need to be able to call lchan_meas_check_compute() from l1sap.c

Change-Id: Ideffe896613e0feda443bc13dac59dcdbbc605aa
---
M include/osmo-bts/measurement.h
M src/common/measurement.c
2 files changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Max: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h
index 2037ff6..2efe40f 100644
--- a/include/osmo-bts/measurement.h
+++ b/include/osmo-bts/measurement.h
@@ -5,4 +5,6 @@
 
 int trx_meas_check_compute(struct gsm_bts_trx *trx, uint32_t fn);
 
+int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn);
+
 #endif
diff --git a/src/common/measurement.c b/src/common/measurement.c
index 6b06138..260304a 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -191,7 +191,7 @@
        return 7;
 }
 
-static int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn)
+int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn)
 {
        struct gsm_meas_rep_unidir *mru;
        uint32_t ber_full_sum = 0;

-- 
To view, visit https://gerrit.osmocom.org/2411
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ideffe896613e0feda443bc13dac59dcdbbc605aa
Gerrit-PatchSet: 3
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <[email protected]>

Reply via email to