summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-27 00:43:06 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-27 00:43:06 +0100
commit78b5586e2537b88b99dde0de474779e6d5ff1b01 (patch)
treedeb6c624971fbfd9d1de1d15005df69b40688732
parent6a85705d517dc3b88c23768b451ea9464fd1b7a0 (diff)
osmo-bsc: Remove hard-coded check for codec preferecne in ASS CMD
When we get an assignment command from the MSC, we no longer have to check statically for certain codecs, as we have a vty-configured list of codecs that is checked just below.
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_bssap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
index 2fbcbe5..a59e2f6 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
@@ -349,11 +349,6 @@ static int bssmap_handle_assignm_req(struct osmo_bsc_sccp_con *conn,
goto reject;
}
- if (data[1] != GSM0808_SPEECH_FULL_PREF && data[1] != GSM0808_SPEECH_HALF_PREF) {
- LOGP(DMSC, LOGL_ERROR, "ChannelType full not allowed: %d\n", data[1]);
- goto reject;
- }
-
/*
* go through the list of preferred codecs of our gsm network
* and try to find it among the permitted codecs. If we found