aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm_04_08.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-17 17:43:33 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-17 17:43:33 +0000
commitbfaf0979051f404ee01f514482b43836372211cb (patch)
tree4a1d5be8cff137152ae76a37b0b48146823ff7fa /src/gsm_04_08.c
parent49dfa353e31b1e659d38fb3a942321818900ce32 (diff)
in case pagign of the 'B-end' during call setup fails, transmit message to
correct lchan rather than crashing
Diffstat (limited to 'src/gsm_04_08.c')
-rw-r--r--src/gsm_04_08.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm_04_08.c b/src/gsm_04_08.c
index d8fee8052..885384209 100644
--- a/src/gsm_04_08.c
+++ b/src/gsm_04_08.c
@@ -975,7 +975,7 @@ static int setup_trig_pag_evt(unsigned int hooknum, unsigned int event,
DEBUGP(DCC, "paging expired!\n");
/* notify caller that we cannot reach called party */
/* FIXME: correct cause, etc */
- rc = gsm48_tx_simple(msg->lchan, GSM48_PDISC_CC,
+ rc = gsm48_tx_simple(remote_call->local_lchan, GSM48_PDISC_CC,
GSM48_MT_CC_RELEASE_COMPL);
break;
}