diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-07 20:35:59 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-07 20:35:59 +0200 |
commit | a5963097ace53ca2d229e30aaa99712c049f642b (patch) | |
tree | 26e07c36e2232e3b04a48edea8d10a3dea4fe892 /openbsc/src/bssap.c | |
parent | 221fb37518401fd6d1cdae6e464b43f7558fd4c2 (diff) |
bssap: Comment and code cleanup
Diffstat (limited to 'openbsc/src/bssap.c')
-rw-r--r-- | openbsc/src/bssap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/openbsc/src/bssap.c b/openbsc/src/bssap.c index 5aa49aa1d..ff682e965 100644 --- a/openbsc/src/bssap.c +++ b/openbsc/src/bssap.c @@ -227,7 +227,6 @@ static int bssmap_handle_cipher_mode(struct sccp_connection *conn, int reject_cause = -1; int include_imeisv = 1; - /* HACK: Sending A5/0 to the MS */ if (!msg->lchan || !msg->lchan->msc_data) { LOGP(DMSC, LOGL_ERROR, "No lchan/msc_data in cipher mode command.\n"); goto reject; @@ -344,8 +343,8 @@ enum gsm0808_permitted_speech audio_support_to_gsm88(struct gsm_audio_support *a return GSM0808_PERM_FR3; break; default: - LOGP(DMSC, LOGL_ERROR, "Wrong speech mode: %d\n", audio->ver); - return GSM0808_PERM_HR1; + LOGP(DMSC, LOGL_ERROR, "Wrong speech mode: %d\n", audio->ver); + return GSM0808_PERM_HR1; } } } |