diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2009-12-19 12:38:10 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-01-07 10:37:40 +0100 |
commit | ef24dff2a22c907f08a24b19773dde5ce20ba5d6 (patch) | |
tree | 82ef2b092b47ae2d5db6b198fd34ff881a9d9e63 /openbsc/src/paging.c | |
parent | 65542c7f597c5c94b16904108056d3c99de1a8cc (diff) |
[signal] Differentiate paging success from expiration in SS_PAGING
This is useful information to know and actually fixes a segfault
in rllp.c where lchan is accessed even tough it could be NULL in
case of failure.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc/src/paging.c')
-rw-r--r-- | openbsc/src/paging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/paging.c b/openbsc/src/paging.c index b5dc2d052..91de70241 100644 --- a/openbsc/src/paging.c +++ b/openbsc/src/paging.c @@ -214,7 +214,7 @@ static void paging_T3113_expired(void *data) counter_inc(req->bts->network->stats.paging.expired); - dispatch_signal(SS_PAGING, S_PAGING_COMPLETED, &sig_data); + dispatch_signal(SS_PAGING, S_PAGING_EXPIRED, &sig_data); if (cbfn) cbfn(GSM_HOOK_RR_PAGING, GSM_PAGING_EXPIRED, NULL, NULL, cbfn_param); |