Allow paging even though is_paging is false

It doesn't really hurt to see whether we have paging responses queued for
a given subscriber. Possibly a subscriber replied with a paging response
later than we assumed the paging to be valid.
This commit is contained in:
Neels Hofmeyr
2016-05-02 15:35:07 +02:00
parent fb845bb1df
commit c6580c5b2c

View File

@@ -66,8 +66,11 @@ static int subscr_paging_dispatch(unsigned int hooknum, unsigned int event,
struct gsm_subscriber *subscr = conn->subscr;
struct paging_signal_data sig_data;
OSMO_ASSERT(subscr->is_paging);
if (!subscr->is_paging) {
LOGP(DPAG, LOGL_NOTICE,
"Paging Response received for subscriber"
" that is not paging.\n");
}
/* Inform parts of the system we don't know */
sig_data.subscr = subscr;