summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-27 13:48:21 +0100
committerHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-27 13:48:21 +0100
commit7f96ad5a197c95a54b14d3467851d27160f269e0 (patch)
tree9af7e02b896034cf5ec844d397b35d495c806d3d
parent0c291732991f944d16d400acd452ea1ac30bf64b (diff)
26C3: workaround for bug in mncc printk (bts == NULL)
-rw-r--r--openbsc/src/gsm_04_08.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index 6eeddbf90..0ad80106c 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -3316,12 +3316,15 @@ int mncc_send(struct gsm_network *net, int msg_type, void *arg)
if (transt == trans ||
transt->subscr != subscr)
continue;
+#if 0
+ bts = entry->lchan->ts->trx->bts;
DEBUGP(DCC, "(bts %d trx - ts - ti -- sub %s) "
"Received '%s' from MNCC with "
"unallocated channel, paging already "
"started.\n", bts->nr,
data->called.number,
get_mncc_name(msg_type));
+#endif
subscr_put(subscr);
trans_free(trans);
return 0;