aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_subscriber_base.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-16 15:17:59 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-16 15:42:21 +0800
commit667cdd60cae1e145bfbf29dbe7b6da1395eb5f54 (patch)
tree21f4e8c240c97c8c526d3c64e157950cf22b5380 /openbsc/src/gsm_subscriber_base.c
parent280c768f910c29d19a605b9f8e2961fe92832dd1 (diff)
gsm_subscriber_base: Pass the subscriber as param to avoid crash.
The function we call will take the item from the list and do the right thing.
Diffstat (limited to 'openbsc/src/gsm_subscriber_base.c')
-rw-r--r--openbsc/src/gsm_subscriber_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gsm_subscriber_base.c b/openbsc/src/gsm_subscriber_base.c
index 40c3bbda3..c0d1261b4 100644
--- a/openbsc/src/gsm_subscriber_base.c
+++ b/openbsc/src/gsm_subscriber_base.c
@@ -106,7 +106,7 @@ static void subscr_send_paging_request(struct gsm_subscriber *subscr)
/* paging failed, quit now */
if (rc <= 0) {
subscr_paging_cb(GSM_HOOK_RR_PAGING, GSM_PAGING_EXPIRED,
- NULL, NULL, request->param);
+ NULL, NULL, subscr);
}
}