diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-12-27 16:08:34 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-12-27 16:08:34 +0100 |
commit | 3bcc493219e7b51a7299101e92ce854879c91df3 (patch) | |
tree | 476ef240d698986ae36712bd3e2fc4fde4ef50a5 | |
parent | 7c26ce02a750ab6adcc20de349cb55485ce50d67 (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.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c index 14c7e0c08..d661e1a8c 100644 --- a/openbsc/src/gsm_04_08.c +++ b/openbsc/src/gsm_04_08.c @@ -2969,13 +2969,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; |