diff options
author | Holger Freyther <zecke@selfish.org> | 2009-02-14 22:51:03 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2009-02-14 22:51:03 +0000 |
commit | 4af2b48009a88185eac3da358583ba0153a8f551 (patch) | |
tree | 6ba6f59f281368cc3beccda99ecca99bd118af56 /src/paging.c | |
parent | 2b2d2e350e2cf03ca2eb0a7e5c6a9d99b774c457 (diff) |
[signal] Dispatch the first signal... inform about paging timeout
When the paging request timed out, send a signal... lchan
is NULL in case of a failure.
Diffstat (limited to 'src/paging.c')
-rw-r--r-- | src/paging.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/paging.c b/src/paging.c index dad2c3eb9..761facde8 100644 --- a/src/paging.c +++ b/src/paging.c @@ -41,6 +41,7 @@ #include <openbsc/paging.h> #include <openbsc/debug.h> +#include <openbsc/signal.h> #include <openbsc/abis_rsl.h> #include <openbsc/gsm_data.h> @@ -183,7 +184,13 @@ static void paging_T3113_expired(void *data) DEBUGP(DPAG, "T3113 expired for request %p (%s)\n", req, req->subscr->imsi); - /* FIXME: send a RR signal indicating that paging has failed */ + struct paging_signal_data sig_data = { + .subscr = req->subscr, + .bts = req->bts, + .lchan = NULL, + }; + + dispatch_signal(S_PAGING, &sig_data.data); paging_remove_request(&req->bts->paging, req); } |