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:32:20 +0100
commit08eebd59b78d9327c88269e6da75e1c9d5a881ef (patch)
treee2cf0425866fad705ffeb51f656f21734877511f /openbsc/src/handover_decision.c
parent9ae7b29e3a74b3c7ddf7781ae0b9ebd4cd8efddb (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;
}