diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-12 00:03:43 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-12 00:03:43 +0200 |
commit | 75413c492837d0b5269ce43648882e7eee5a0d7a (patch) | |
tree | 093e0c66858dceafc0903af9ddebb2f8e8849a13 /openbsc/src | |
parent | 376f782e2878926e089610d5b0cb7e771e3ada82 (diff) |
osmo-bsc: Add missing return statement causing CIPH MODE REJ
due to a missing return statement, we ran into the 'reject' case
of bssmap_handle_cipher_mode(). Due to another bug in libosmocore,
the reject message was corrupted (fixed in libosmocore commit
0c83670a595a278b7d1fb7b21b2eacab84d3c031)
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_bssap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c index 2af9788ad..495a31325 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c @@ -276,6 +276,8 @@ static int bssmap_handle_cipher_mode(struct osmo_bsc_sccp_con *conn, goto reject; } + return 0; + reject: resp = gsm0808_create_cipher_reject(reject_cause); if (!resp) { |