aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/rsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r--src/common/rsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 229d960c..f5c153a5 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -871,7 +871,7 @@ static int encr_info2lchan(struct gsm_lchan *lchan,
if (rc != 1) {
LOGP(DRSL, LOGL_ERROR, "%s: BTS doesn't support cipher 0x%02x\n",
gsm_lchan_name(lchan), *val);
- return rc;
+ return -EINVAL;
}
/* length can be '1' in case of no ciphering */