From a3acb30077ad580ab76ee3273b7383e9295ca68a Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 11 Dec 2018 14:17:46 +0100 Subject: paging: Properly enclose logging imsi filter scope Otherwise all logging is kept enabled after passing through those code paths. Change-Id: I06a977d97e6ffea02ec7402d48410c0e7cc6c155 --- src/osmo-bsc/paging.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c index 03f940cf3..2c9d5cd2c 100644 --- a/src/osmo-bsc/paging.c +++ b/src/osmo-bsc/paging.c @@ -285,6 +285,8 @@ static void paging_T3113_expired(void *data) /* destroy it now. Do not access req afterwards */ paging_remove_request(&req->bts->paging, req); + + log_set_context(LOG_CTX_BSC_SUBSCR, NULL); } #define GSM_FRAME_DURATION_us 4615 @@ -440,6 +442,7 @@ void paging_request_stop(struct llist_head *bts_list, continue; _paging_request_stop(bts, bsub, NULL, NULL); } + log_set_context(LOG_CTX_BSC_SUBSCR, NULL); } -- cgit v1.2.3