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.
This commit is contained in:
Harald Welte 2012-01-27 00:43:06 +01:00
parent 6a85705d51
commit 78b5586e25
1 changed files with 0 additions and 5 deletions

View File

@ -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