aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/handover_logic.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_logic.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_logic.c')
-rw-r--r--openbsc/src/handover_logic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/handover_logic.c b/openbsc/src/handover_logic.c
index 38bb32ea..a537d4f6 100644
--- a/openbsc/src/handover_logic.c
+++ b/openbsc/src/handover_logic.c
@@ -388,11 +388,13 @@ static int ho_ipac_crcx_ack(struct gsm_lchan *new_lchan)
static int ho_logic_sig_cb(unsigned int subsys, unsigned int signal,
void *handler_data, void *signal_data)
{
+ struct lchan_signal_data *lchan_data;
struct gsm_lchan *lchan;
+ lchan_data = signal_data;
switch (subsys) {
case SS_LCHAN:
- lchan = signal_data;
+ lchan = lchan_data->lchan;
switch (signal) {
case S_LCHAN_ACTIVATE_ACK:
return ho_chan_activ_ack(lchan);