aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-10-31 08:06:10 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-11-20 17:35:46 +0100
commit16d0a833f86e04475769e22b4c18f1a8ca3ac4a7 (patch)
tree61528d6f66628628351a5c20f43a3061614df880
parentea72b62cac3942f164f1a7d329b7c44435030168 (diff)
[bssmap] Fix the chosen encryption in assignment complete
Send the RSL value... it is the right value
-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 cd65a735b..5e03da770 100644
--- a/openbsc/src/bssap.c
+++ b/openbsc/src/bssap.c
@@ -668,7 +668,7 @@ struct msgb *bssmap_create_assignment_completed(struct gsm_lchan *lchan, u_int8_
/* write chosen encryption algorithm 3.2.2.44 */
data = msgb_put(msg, 2);
data[0] = GSM0808_IE_CHOSEN_ENCR_ALG;
- data[1] = RSL_ENC_ALG_A5(lchan->encr.alg_id);
+ data[1] = lchan->encr.alg_id;
/* write circuit pool 3.2.2.45 */
/* write speech version chosen: 3.2.2.51 when BTS picked it */