aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/bssap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/bssap.c b/openbsc/src/bssap.c
index bcaad3046..8517aee1f 100644
--- a/openbsc/src/bssap.c
+++ b/openbsc/src/bssap.c
@@ -473,7 +473,7 @@ static int bssmap_handle_assignm_req(struct sccp_connection *conn,
if (!msg->lchan || !msg->lchan->msc_data) {
DEBUGP(DMSC, "No lchan/msc_data in cipher mode command.\n");
- goto reject;
+ return -1;
}
msc_data = msg->lchan->msc_data;