From 78b5586e2537b88b99dde0de474779e6d5ff1b01 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 27 Jan 2012 00:43:06 +0100 Subject: 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. --- openbsc/src/osmo-bsc/osmo_bsc_bssap.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c index 2fbcbe5ee..a59e2f674 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 -- cgit v1.2.3