aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-12-27 16:08:34 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-06 14:52:51 +0100
commit8e3eb584a8c91fc9e6b0d06e2345812894d3186d (patch)
treebb39dc4d89ef49d6e41776822e2690548c2ec357
parentb56a6bbc55a17d7a31ab65ff334edaaf38d30260 (diff)
mncc: Do not print the BTS at all as it might not be present
In contrast to the previous believe we may not have a conn here as we are still paging for the sub. Instead of printing the BTS print the lac where we think the subscriber is located.
-rw-r--r--openbsc/src/gsm_04_08.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index df24d2f02..cf72e5971 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -3048,13 +3048,12 @@ int mncc_tx_to_cc(struct gsm_network *net, int msg_type, void *arg)
if (transt == trans ||
transt->subscr != subscr)
continue;
- DEBUGP(DCC, "(bts %d trx - ts - ti -- sub %s) "
+ DEBUGP(DCC, "(bts - trx - ts - ti -- sub %s) "
"Received '%s' from MNCC with "
"unallocated channel, paging already "
- "started.\n",
- trans->conn->lchan->ts->trx->bts->nr,
+ "started for lac %d.\n",
data->called.number,
- get_mncc_name(msg_type));
+ get_mncc_name(msg_type), subscr->lac);
subscr_put(subscr);
trans_free(trans);
return 0;