aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/handover_decision.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-12-27 13:28:20 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-12-27 13:44:25 +0100
commit5eea1f8c20be88eec69ec7d9d7ed005098a70937 (patch)
tree88ef164df7d65b8d641b64c0ae29c188f96e0a38 /openbsc/src/handover_decision.c
parent38ee8da909d926a6bd428011fb83edf18d39168d (diff)
lchan: Every SS_LCHAN signal now sends a struct lchan_sig_data
The SS_LCHAN signals now always include the lchan_sig_data. For the measurement report it will optionally include the measurement report as well. Attempt to update all handlers of this signal as well
Diffstat (limited to 'openbsc/src/handover_decision.c')
-rw-r--r--openbsc/src/handover_decision.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/handover_decision.c b/openbsc/src/handover_decision.c
index efafca6e2..4ac3286ff 100644
--- a/openbsc/src/handover_decision.c
+++ b/openbsc/src/handover_decision.c
@@ -277,15 +277,15 @@ static int process_meas_rep(struct gsm_meas_rep *mr)
static int ho_dec_sig_cb(unsigned int subsys, unsigned int signal,
void *handler_data, void *signal_data)
{
- struct gsm_meas_rep *mr;
+ struct lchan_signal_data *lchan_data;
if (subsys != SS_LCHAN)
return 0;
+ lchan_data = signal_data;
switch (signal) {
case S_LCHAN_MEAS_REP:
- mr = signal_data;
- process_meas_rep(mr);
+ process_meas_rep(lchan_data->mr);
break;
}