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)
This commit is contained in:
Harald Welte 2011-07-12 00:03:43 +02:00
parent 376f782e28
commit 75413c4928
1 changed files with 2 additions and 0 deletions

View File

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