aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/rrlp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/rrlp.c b/openbsc/src/rrlp.c
index 60ce750ad..d4665d570 100644
--- a/openbsc/src/rrlp.c
+++ b/openbsc/src/rrlp.c
@@ -90,6 +90,10 @@ static int paging_sig_cb(unsigned int subsys, unsigned int signal,
switch (signal) {
case S_PAGING_COMPLETED:
+ /* paging might have "completed' unsucessfully,
+ * in this case we don't have a lchan */
+ if (!psig_data->lchan)
+ break;
/* A subscriber has attached. */
send_rrlp_req(psig_data->lchan);
break;