summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-08-05 20:11:18 +0200
committerHarald Welte <laforge@gnumonks.org>2011-08-10 10:51:02 +0200
commit1045697c349a432ef4b0a8dfd5ad20549afe2f39 (patch)
tree2c71b01f34671f5e75d55c63c1768b1d4674652e
parent44d26113bcf74cbbce7d8a4139731fd8880f6873 (diff)
Fix MNCC for the NOKIA BTS type
(thanks to Gus Bourg)
-rw-r--r--openbsc/src/libmsc/gsm_04_08.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index b0bfecadd..bd452ed99 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -1705,6 +1705,7 @@ static int tch_recv_mncc(struct gsm_network *net, uint32_t callref, int enable)
break;
case GSM_BTS_TYPE_BS11:
case GSM_BTS_TYPE_RBS2000:
+ case GSM_BTS_TYPE_NOKIA_SITE:
if (enable)
return trau_recv_lchan(lchan, callref);
return trau_mux_unmap(NULL, callref);
@@ -2990,6 +2991,7 @@ int mncc_tx_to_cc(struct gsm_network *net, int msg_type, void *arg)
return rtp_send_frame(trans->conn->lchan->abis_ip.rtp_socket, arg);
case GSM_BTS_TYPE_BS11:
case GSM_BTS_TYPE_RBS2000:
+ case GSM_BTS_TYPE_NOKIA_SITE:
return trau_send_frame(trans->conn->lchan, arg);
default:
LOGP(DCC, LOGL_ERROR, "Unknown BTS type %u\n", bts->type);